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 TextLCD g_lcd(p15, p16, p17, p18, p19, p20); // RS, E, DB4, DB5, DB6, DB7 00005 00006 int main() { 00007 wait(0.001); 00008 g_lcd.cls(); wait(0.001); 00009 g_lcd.locate(0, 0); 00010 g_lcd.printf( "Hello world!"); 00011 00012 int iCounter = 0; 00013 while(1) { 00014 g_lcd.locate(0, 1); 00015 g_lcd.printf( "%d", iCounter ); 00016 iCounter++; 00017 wait(1.0); 00018 } 00019 }
Generated on Tue Jul 19 2022 07:27:35 by
1.7.2