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 LCDType asdasd= LCD16x2B 00006 TextLCD lcd(PTC9, PTC8, PTA5, PTA4, PTA12, PTD4, asdasd); // rs, e, d4-d7 00007 00008 int main() { 00009 printf("Hello World!\n"); 00010 lcd.cls(); 00011 lcd.printf("Hello World!\n"); 00012 lcd.locate(0, 1); 00013 lcd.printf("line 2\n"); 00014 lcd.locate(0, 2); 00015 lcd.printf("line 3\n"); 00016 lcd.locate(0, 3); 00017 lcd.printf("line 4\n"); 00018 00019 }
Generated on Fri Jul 15 2022 14:39:03 by
1.7.2
