![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Teste I2C
Diff: main.cpp
- Revision:
- 1:208b1069f0b1
- Parent:
- 0:376d7a150177
--- a/main.cpp Wed Dec 03 03:48:48 2014 +0000 +++ b/main.cpp Wed May 04 13:44:34 2022 +0000 @@ -5,7 +5,7 @@ // I2C Communication -I2C i2c_lcd(p28,p27); // SDA, SCL +I2C i2c_lcd(D15,D14); // SDA, SCL TextLCD_I2C lcd(&i2c_lcd, 0x4E, TextLCD::LCD16x2, TextLCD::HD44780); // I2C bus, PCF8574 Slaveaddress, LCD Type, Device Type @@ -15,6 +15,6 @@ 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("Oscar de Jesus \n Vasquez"); +lcd.printf("HENRIQUE ROSA \n "); } \ No newline at end of file