
1
Diff: main.cpp
- Revision:
- 0:d7f92f1a77c4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon May 16 06:16:10 2016 +0000 @@ -0,0 +1,25 @@ +#include "mbed.h" +#include "TextLCD.h" + +/*DigitalIn p(PTB2); +BusOut led1(PTE5,PTE4,PTE3,PTE2,PTB11,PTB10,PTB9,PTB8); +BusOut mo(PTA1,PTA2); + +int main() { + int a = 0; + while(1) { + if(p == 0){ + a += 1; + else if(a%2=0){ + led1 = 0x01; + mo = 0x01;} + else if(p == 1){ + led1 = 0x80; + mo = 0x02;} + } +}*/ +TextLCD lcd(PTC12,PTC13,PTC16,PTC17,PTA16,PTA17); + +int main() { + lcd.printf("kasei\n"); +} \ No newline at end of file