Victor Mirkhan / Mbed 2 deprecated LCD

Dependencies:   Servo TCS3200 TextLCD2 mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LCD.cpp Source File

LCD.cpp

00001 #include "mbed.h"
00002 #include "TextLCD.h"
00003 
00004 // Set do display LCD 20x4 com o módulo I2C
00005 
00006 I2C i2c_lcd(D14,D15);
00007 TextLCD_I2C lcd(&i2c_lcd, 0x7E,TextLCD::LCD20x4);
00008 
00009 int main() {
00010     lcd.setBacklight(TextLCD::LightOn);
00011     lcd.printf("Billy gordo");
00012 }