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.
Dependents: Lilnija_29012017 NucleoF042K6_IRReceiver
Diff: ir_Mitsubishi.cpp
- Revision:
- 5:a4dfe2bb80b9
- Parent:
- 0:70c8e56bac45
--- a/ir_Mitsubishi.cpp Sat Jan 23 15:24:18 2016 +0000
+++ b/ir_Mitsubishi.cpp Sat Jan 23 15:58:10 2016 +0000
@@ -26,7 +26,7 @@
#if DECODE_MITSUBISHI
bool IRrecv::decodeMitsubishi (decode_results *results)
{
- // Serial.print("?!? decoding Mitsubishi:");Serial.print(irparams.rawlen); Serial.print(" want "); Serial.println( 2 * MITSUBISHI_BITS + 2);
+ //printf("?!? decoding Mitsubishi:%d want %d\n", irparams.rawlen, 2 * MITSUBISHI_BITS + 2);
long data = 0;
if (irparams.rawlen < 2 * MITSUBISHI_BITS + 2) return false ;
int offset = 0; // Skip first space
@@ -34,10 +34,8 @@
#if 0
// Put this back in for debugging - note can't use #DEBUG as if Debug on we don't see the repeat cos of the delay
- Serial.print("IR Gap: ");
- Serial.println( results->rawbuf[offset]);
- Serial.println( "test against:");
- Serial.println(results->rawbuf[offset]);
+ printf("IR Gap: %d\n", results->rawbuf[offset]);
+ printf("test against: %d\n", results->rawbuf[offset]);
#endif
#if 0