14 static const size_t introLength = 68U;
15 static const size_t repeatLength = 4U;
44 static void lsbByte(
microseconds_t *intro,
unsigned int& i, uint32_t& sum,
unsigned int D);
45 static void process(
microseconds_t *intro,
unsigned int& i, uint32_t& sum,
unsigned int data);
uint16_t microseconds_t
Type for durations in micro seconds.
A static class consisting of two functions that generate IrSignal-s from the NEC1 protocol parameters...
This class models an IR signal with intro-, repeat-, and ending sequences.
uint16_t frequency_t
Type for modulation frequency in Hz.
static const IrSignal * newIrSignal(unsigned int D, unsigned int F)
Generates am IrSignal from the NEC1 parameters.
This class consists of a vector of durations.
static const IrSignal * newIrSignal(unsigned int D, unsigned int S, unsigned int F)
Generates am IrSignal from the NEC1 parameters.