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