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 "LCD_Serial.h" 00003 00004 DigitalOut myled(LED1); 00005 LCDSerial myLcd(p13,p14,p15,p16); // Data, Clock, Enable, Back 00006 00007 00008 00009 int main() { 00010 char k=0; 00011 00012 myLcd.printf("\fHello mbed! Library\nLCD serial with\nshift register\nby Suky..."); 00013 myLcd.vSetBacklight(1); 00014 while(1) { 00015 myLcd.vGotoxy(20,4); 00016 myLcd.vPutc(k); 00017 if(++k==8){k=0;} 00018 myled = 1; 00019 wait(0.2); 00020 myled = 0; 00021 wait(0.2); 00022 } 00023 }
Generated on Sat Jul 23 2022 14:43:33 by
1.7.2