Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp
00001 #include "mbed.h" 00002 #include "TextLCD.h" 00003 00004 00005 // I2C Communication 00006 I2C i2c_lcd(D14, D15); // SDA, SCL 00007 00008 TextLCD_I2C lcd(&i2c_lcd, 0x4E, TextLCD::LCD16x2, TextLCD::HD44780); // I2C bus, PCF8574 Slaveaddress, LCD Type, Device Type 00009 00010 00011 int main() 00012 { 00013 lcd.setMode(TextLCD::DispOn); //DispOff, DispOn 00014 lcd.setBacklight(TextLCD::LightOn);//LightOff, LightOn 00015 lcd.setCursor(TextLCD::CurOff_BlkOff);//CurOff_BlkOff, CurOn_BlkOff, CurOff_BlkOn, CurOn_BlkOn 00016 lcd.printf("HOLA EDWIN \n LOPEZ"); 00017 00018 }
Generated on Fri Jul 15 2022 22:50:47 by
1.7.2