Updated IRremote.h to include NERF LOP

This commit is contained in:
2018-12-27 17:03:36 +01:00
committed by GitHub
parent ae5cd09352
commit c1993b9c10

View File

@@ -79,6 +79,9 @@
#define DECODE_LEGO_PF 0 // NOT WRITTEN #define DECODE_LEGO_PF 0 // NOT WRITTEN
#define SEND_LEGO_PF 1 #define SEND_LEGO_PF 1
#define DECODE_NERF_LOP 0 // NOT WRITTEN
#define SEND_NERF_LOP 1
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// When sending a Pronto code we request to send either the "once" code // When sending a Pronto code we request to send either the "once" code
// or the "repeat" code // or the "repeat" code
@@ -119,6 +122,7 @@ typedef
DENON, DENON,
PRONTO, PRONTO,
LEGO_PF, LEGO_PF,
NERF_LOP,
} }
decode_type_t; decode_type_t;
@@ -251,6 +255,10 @@ class IRrecv
# if DECODE_LEGO_PF # if DECODE_LEGO_PF
bool decodeLegoPowerFunctions (decode_results *results) ; bool decodeLegoPowerFunctions (decode_results *results) ;
# endif # endif
//......................................................................
# if DECODE_NERF_LOP
bool decodeNerfLOP (decode_results *results) ;
#
} ; } ;
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
@@ -339,6 +347,10 @@ class IRsend
# if SEND_LEGO_PF # if SEND_LEGO_PF
void sendLegoPowerFunctions (uint16_t data, bool repeat = true) ; void sendLegoPowerFunctions (uint16_t data, bool repeat = true) ;
# endif # endif
//......................................................................
# if SEND_NERF_LOP
void sendNerfLOP (uint16_t data, bool repeat = true) ;
# endif
} ; } ;
#endif #endif