Commits

F Malpartida committed a334c9b

Added compatibility with Arduino SDK 22 and added include to <WProgram.h>

  • Participants
  • Parent commits 61f1274

Comments (0)

Files changed (6)

 // @author F. Malpartida - fmalpartida@gmail.com
 // ---------------------------------------------------------------------------
 #if (ARDUINO <  100)
-#include <wiring.h>
+#include <WProgram.h>
 #else
 #include <Arduino.h>
 #endif
 #include <inttypes.h>
 
 #if (ARDUINO <  100)
-#include <wiring.h>
+#include <WProgram.h>
 #else
 #include <Arduino.h>
 #endif
 // ---------------------------------------------------------------------------
 #ifndef _LCD_H_
 #define _LCD_H_
-
 #include <inttypes.h>
 #include <Print.h>
 

File LiquidCrystal.cpp

 #include <stdio.h>
 #include <string.h>
 #include <inttypes.h>
+
 #if (ARDUINO <  100)
-#include <wiring.h>
+#include <WProgram.h>
 #else
 #include <Arduino.h>
 #endif

File LiquidCrystal_I2C.cpp

 // @author F. Malpartida - fmalpartida@gmail.com
 // ---------------------------------------------------------------------------
 #if (ARDUINO <  100)
-#include <wiring.h>
+#include <WProgram.h>
 #else
 #include <Arduino.h>
 #endif

File LiquidCrystal_SR.cpp

 #include <stdio.h>
 #include <string.h>
 #include <inttypes.h>
+
 #if (ARDUINO <  100)
-#include <wiring.h>
+#include <WProgram.h>
 #else
 #include <Arduino.h>
 #endif