Sd Card

Dependencies:   mbed TextLCD

Revision:
3:ab83735eefc3
Parent:
2:78d57ebcfc3d
Child:
4:b95e3e1f207e
--- a/main.cpp	Mon Nov 02 13:53:31 2015 +0000
+++ b/main.cpp	Mon Jan 09 10:19:44 2017 +0000
@@ -9,9 +9,9 @@
 #include "TextLCD.h"
 
 // PCF8574T
-#define SLAVEADDRESS 0x4E 
+//define SLAVEADDRESS 0x4E 
 //PCF8574AT
-//#define SLAVEADDRESS 0x7E
+#define SLAVEADDRESS 0x7E
 
 // Instanzia un oggetto I2C assegnando i du pin SDA ed SCL
 I2C i2c_lcd(PB_9,PB_8); // SDA, SCL
@@ -34,6 +34,6 @@
     lcd.setAddress(0, 1);
     
     // Stampa sullo schermo
-    lcd.printf("LCD display demo");
+    lcd.printf("MikGa87 Testing");
     wait(2);
 }
\ No newline at end of file