Infrared remote library for Arduino: send and receive infrared signals with multiple protocols Port from Arduino-IRremote https://github.com/z3t0/Arduino-IRremote

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