mirror of
https://github.com/Theaninova/Arduino-IRremote.git
synced 2026-01-06 13:32:49 +00:00
added CDTV support
This commit is contained in:
16
IRremote.h
16
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;
|
||||
|
||||
@@ -247,9 +251,13 @@ class IRrecv
|
||||
# if DECODE_DENON
|
||||
bool decodeDenon (decode_results *results) ;
|
||||
# endif
|
||||
//......................................................................
|
||||
//......................................................................
|
||||
# if DECODE_LEGO_PF
|
||||
bool decodeLegoPowerFunctions (decode_results *results) ;
|
||||
# endif
|
||||
//......................................................................
|
||||
# if DECODE_CDTV
|
||||
bool decodeCDTV (decode_results *results) ;
|
||||
# endif
|
||||
} ;
|
||||
|
||||
@@ -335,9 +343,13 @@ class IRsend
|
||||
# if SEND_PRONTO
|
||||
void sendPronto (char* code, bool repeat, bool fallback) ;
|
||||
# endif
|
||||
//......................................................................
|
||||
//......................................................................
|
||||
# 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