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 /*DigitalIn p(PTB2); 00005 BusOut led1(PTE5,PTE4,PTE3,PTE2,PTB11,PTB10,PTB9,PTB8); 00006 BusOut mo(PTA1,PTA2); 00007 00008 int main() { 00009 int a = 0; 00010 while(1) { 00011 if(p == 0){ 00012 a += 1; 00013 else if(a%2=0){ 00014 led1 = 0x01; 00015 mo = 0x01;} 00016 else if(p == 1){ 00017 led1 = 0x80; 00018 mo = 0x02;} 00019 } 00020 }*/ 00021 TextLCD lcd(PTC12,PTC13,PTC16,PTC17,PTA16,PTA17); 00022 00023 int main() { 00024 lcd.printf("kasei\n"); 00025 }
Generated on Sun Jul 31 2022 23:52:23 by
1.7.2