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 00003 DigitalOut myled(LED1); 00004 #include "I2cLCD.h" 00005 I2cLCD lcd(p28, p27); // sda scl 00006 00007 int main() { 00008 lcd.locate(0,0); 00009 lcd.printf("I2C_LCD"); 00010 lcd.locate(0,1); 00011 lcd.printf("ABCdefghij"); 00012 00013 while(1) { 00014 myled = 1; 00015 wait(0.2); 00016 myled = 0; 00017 wait(0.2); 00018 } 00019 }
Generated on Thu Jul 14 2022 12:54:00 by
1.7.2