|
pirblaster
0.01
Use the pi as a remote control for your TV, DVD player etc.
|

Go to the source code of this file.
Functions | |
| int | InitCarrier (int Range, int Divisor, int DutyCycle) |
| Wrapper to ioctl. More... | |
| int InitCarrier | ( | int | Range, |
| int | Divisor, | ||
| int | DutyCycle | ||
| ) |
Wrapper to ioctl.
Small wrapper to set the hardware pwm registers, so the pwm will produce the desired frequency and dutycycle
| Range | Sets the number of steps in which you can modify the dutycycle |
| Divisor | Sets the number by which the hardwareclock is divided to get the right frequency |
| DutyCycle | Sets the DutyCycle |
Definition at line 33 of file InitCarrier.c.

1.8.10