Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: IRremote.h
- Revision:
- 9:4e06441ceecf
- Parent:
- 8:da53af1db462
--- a/IRremote.h Sun May 26 17:18:25 2019 +0000 +++ b/IRremote.h Mon May 27 11:13:55 2019 +0000 @@ -49,8 +49,8 @@ #define DECODE_SAMSUNG 1 #define SEND_SAMSUNG 1 -#define DECODE_WHYNTER 1 -#define SEND_WHYNTER 1 +#define DECODE_WHYNTER 0 +#define SEND_WHYNTER 0 #define DECODE_AIWA_RC_T501 1 #define SEND_AIWA_RC_T501 1 @@ -58,23 +58,21 @@ #define DECODE_LG 1 #define SEND_LG 1 -#define DECODE_SANYO 1 +#define DECODE_SANYO 0 #define SEND_SANYO 0 // NOT WRITTEN -#define DECODE_MITSUBISHI 1 +#define DECODE_MITSUBISHI 0 #define SEND_MITSUBISHI 0 // NOT WRITTEN #define DECODE_DISH 0 // NOT WRITTEN -#define SEND_DISH 1 +#define SEND_DISH 0 #define DECODE_SHARP 0 // NOT WRITTEN #define SEND_SHARP 1 -#define DECODE_DENON 1 -#define SEND_DENON 1 #define DECODE_PRONTO 0 // This function doe not logically make sense -#define SEND_PRONTO 1 +#define SEND_PRONTO 0 #define DECODE_DAIKIN 1 #define SEND_DAIKIN 1 @@ -116,7 +114,6 @@ MITSUBISHI, DISH, SHARP, - DENON, PRONTO, DAIKIN } @@ -243,9 +240,7 @@ bool decodeSharp (decode_results *results) ; // NOT WRITTEN # endif //...................................................................... -# if DECODE_DENON - bool decodeDenon (decode_results *results) ; -# endif + DigitalIn _recvpin; Ticker _ticker; @@ -327,16 +322,13 @@ void sendSharp (unsigned int address, unsigned int command) ; # endif //...................................................................... -# if SEND_DENON - void sendDenon (unsigned long data, int nbits) ; -# endif - //...................................................................... # if SEND_PRONTO void sendPronto (char* code, bool repeat, bool fallback) ; # endif # if SEND_DAIKIN void sendDaikin(unsigned char buf[], int len, int start); + void daikinWarm(); # endif