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.
Fork of TextLCD_HelloWorld by
main.cpp
00001 // Hello World! for the TextLCD 00002 00003 #include "mbed.h" 00004 #include "TextLCD.h" 00005 00006 TextLCD lcd(p26, p25, p24, p23, p22, p21); // rs, e, d4-d7 00007 int main() { 00008 // Clear LCD Screen 00009 lcd.cls(); 00010 wait(1); 00011 // Print to LCD on first line 00012 lcd.printf("Hello LCD World!\n"); 00013 00014 char a = 'a'; 00015 00016 while(1){ 00017 lcd.cls(); 00018 wait(0.25); 00019 lcd.putc(a); 00020 a++; 00021 wait(0.25); 00022 } 00023 }
Generated on Tue Jul 26 2022 22:17:18 by
1.7.2
