Oi shin
Dependencies: Servo TCS3200 TextLCD2 mbed
Diff: LCD.cpp
- Revision:
- 0:a204dd3fa164
diff -r 000000000000 -r a204dd3fa164 LCD.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LCD.cpp Mon May 29 20:47:08 2017 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" +#include "TextLCD.h" + +// Set do display LCD 20x4 com o módulo I2C + +I2C i2c_lcd(D14,D15); +TextLCD_I2C lcd(&i2c_lcd, 0x7E,TextLCD::LCD20x4); + +int main() { + lcd.setBacklight(TextLCD::LightOn); + lcd.printf("Billy gordo"); +} \ No newline at end of file