mirror of
https://github.com/Theaninova/Arduino-IRremote.git
synced 2026-01-09 11:12:49 +00:00
added CDTV support
This commit is contained in:
12
IRremote.h
12
IRremote.h
@@ -79,6 +79,9 @@
|
||||
#define DECODE_LEGO_PF 0 // NOT WRITTEN
|
||||
#define SEND_LEGO_PF 1
|
||||
|
||||
#define DECODE_CDTV 1
|
||||
#define SEND_CDTV 1
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// When sending a Pronto code we request to send either the "once" code
|
||||
// or the "repeat" code
|
||||
@@ -119,6 +122,7 @@ typedef
|
||||
DENON,
|
||||
PRONTO,
|
||||
LEGO_PF,
|
||||
CDTV,
|
||||
}
|
||||
decode_type_t;
|
||||
|
||||
@@ -250,6 +254,10 @@ class IRrecv
|
||||
//......................................................................
|
||||
# if DECODE_LEGO_PF
|
||||
bool decodeLegoPowerFunctions (decode_results *results) ;
|
||||
# endif
|
||||
//......................................................................
|
||||
# if DECODE_CDTV
|
||||
bool decodeCDTV (decode_results *results) ;
|
||||
# endif
|
||||
} ;
|
||||
|
||||
@@ -338,6 +346,10 @@ class IRsend
|
||||
//......................................................................
|
||||
# if SEND_LEGO_PF
|
||||
void sendLegoPowerFunctions (uint16_t data, bool repeat = true) ;
|
||||
# endif
|
||||
//......................................................................
|
||||
# if SEND_CDTV
|
||||
void sendCDTV (unsigned long data, int nbits) ;
|
||||
# endif
|
||||
} ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user