Mangue Baja LCD example (default and I2C) for stm32.

Dependencies:   TextLCD SDFileSystem1

Revision:
0:2f38376349e5
Child:
1:17cdefd2840d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Jul 24 18:56:28 2019 +0000
@@ -0,0 +1,20 @@
+#include "stm32f103c8t6.h"
+#include "mbed.h"
+#include "TextLCD.h"
+  
+DigitalOut myled(PC_13);
+
+
+// I2C Communication
+I2C i2c_lcd(PB_9, PB_8); // SDA, SCL
+ 
+TextLCD_I2C lcd(&i2c_lcd, 0x4E, TextLCD::LCD16x2, TextLCD::HD44780); // I2C bus, PCF8574 Slaveaddress, LCD Type, Device Type 
+
+
+int main() 
+{
+lcd.setMode(TextLCD::DispOn); //DispOff, DispOn
+lcd.setBacklight(TextLCD::LightOff);//LightOff, LightOn
+lcd.setCursor(TextLCD::CurOff_BlkOff);//CurOff_BlkOff, CurOn_BlkOff, CurOff_BlkOn, CurOn_BlkOn
+lcd.printf("123456789123456789");
+ }
\ No newline at end of file