Isabelle Murollo / Mbed 2 deprecated Projeto_CCM_Maquinas_MotorDC

Dependencies:   TextLCD mbed

Revision:
4:1dcc28a7a849
diff -r 2b261e3c05db -r 1dcc28a7a849 teste_lcd.txt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/teste_lcd.txt	Thu Dec 01 19:38:52 2022 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+#include "TextLCD.h"
+
+Serial pc(USBTX, USBRX);
+
+I2C i2c_lcd(I2C_SDA, I2C_SCL); // SDA, SCL >>> NUCLEO: D14,D15
+TextLCD_I2C lcd(&i2c_lcd, 0x7e, TextLCD::LCD20x4);
+
+int main(){
+    //Inicializando display LCD
+    lcd.setCursor(TextLCD::CurOff_BlkOn);
+    lcd.setBacklight(TextLCD::LightOn);
+    
+    lcd.printf("Oie!");
+       
+}
\ No newline at end of file