5 #include <avr/interrupt.h>
16 if (brightness > period)
30 TCCR3A = (1 << COM3A1);
36 TCCR3C = (1 << FOC3A);
70 TCCR3A = (1 << COM3A1) | (1 << WGM31);
71 TCCR3B = (1 << WGM33) | (1 << WGM32) | (1 << CS30);
84 TCCR3A = (1 << WGM31);
static void stop()
Stops emitting IR pulses.
static void start(Direction direction, uint16_t brightness, uint16_t period=defaultPeriod)
Starts emitting IR pulses.