IRremote
ir_NEC.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NEC_ADDRESS_BITS   16
 
#define NEC_COMMAND_BITS   16
 
#define NEC_BITS   (NEC_ADDRESS_BITS + NEC_COMMAND_BITS)
 
#define NEC_UNIT   560
 
#define NEC_HEADER_MARK   (16 * NEC_UNIT)
 
#define NEC_HEADER_SPACE   (8 * NEC_UNIT)
 
#define NEC_BIT_MARK   NEC_UNIT
 
#define NEC_ONE_SPACE   (3 * NEC_UNIT)
 
#define NEC_ZERO_SPACE   NEC_UNIT
 
#define NEC_REPEAT_HEADER_SPACE   (4 * NEC_UNIT)
 
#define NEC_AVERAGE_DURATION   62000
 
#define NEC_MINIMAL_DURATION   49900
 
#define NEC_REPEAT_DURATION   (NEC_HEADER_MARK + NEC_REPEAT_HEADER_SPACE + NEC_BIT_MARK)
 
#define NEC_REPEAT_PERIOD   110000
 
#define NEC_REPEAT_DISTANCE   (NEC_REPEAT_PERIOD - NEC_AVERAGE_DURATION)
 
#define NEC_MAXIMUM_REPEAT_DISTANCE   (NEC_REPEAT_PERIOD - NEC_MINIMAL_DURATION + 10000)
 
#define APPLE_ADDRESS   0x87EE
 

Functions

void sendNECSpecialRepeat ()
 Static function variant of IRsend::sendNECRepeat For use in ProtocolConstants. More...
 

Variables

struct PulseDistanceWidthProtocolConstants NECProtocolConstants
 
struct PulseDistanceWidthProtocolConstants NEC2ProtocolConstants