21 #ifndef COSA_MANCHESTERCODEC_HH 22 #define COSA_MANCHESTERCODEC_HH 59 return (pgm_read_byte(&s_symbols[nibble & 0xf]));
68 virtual uint8_t
decode4(uint8_t symbol);
72 static const uint8_t s_symbols[] PROGMEM;
75 static const uint8_t s_preamble[] PROGMEM;
virtual const uint8_t * preamble()
virtual uint8_t encode4(uint8_t nibble)
Codec(uint8_t bits_per_symbol, uint16_t start_symbol, uint8_t preamble_max=VWI::Transmitter::PREAMBLE_MAX)
virtual uint8_t decode4(uint8_t symbol)