Oi shin

Dependencies:   Servo TCS3200 TextLCD2 mbed

Committer:
Victor_Mirkhan
Date:
Mon May 29 20:47:08 2017 +0000
Revision:
0:a204dd3fa164
a

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Victor_Mirkhan 0:a204dd3fa164 1 #include "mbed.h"
Victor_Mirkhan 0:a204dd3fa164 2 #include "TextLCD.h"
Victor_Mirkhan 0:a204dd3fa164 3
Victor_Mirkhan 0:a204dd3fa164 4 // Set do display LCD 20x4 com o módulo I2C
Victor_Mirkhan 0:a204dd3fa164 5
Victor_Mirkhan 0:a204dd3fa164 6 I2C i2c_lcd(D14,D15);
Victor_Mirkhan 0:a204dd3fa164 7 TextLCD_I2C lcd(&i2c_lcd, 0x7E,TextLCD::LCD20x4);
Victor_Mirkhan 0:a204dd3fa164 8
Victor_Mirkhan 0:a204dd3fa164 9 int main() {
Victor_Mirkhan 0:a204dd3fa164 10 lcd.setBacklight(TextLCD::LightOn);
Victor_Mirkhan 0:a204dd3fa164 11 lcd.printf("Billy gordo");
Victor_Mirkhan 0:a204dd3fa164 12 }