
1
main.cpp
- Committer:
- hx6730
- Date:
- 2016-05-16
- Revision:
- 0:d7f92f1a77c4
File content as of revision 0:d7f92f1a77c4:
#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"); }