sei ka
/
test6
1
Revision 0:d7f92f1a77c4, committed 2016-05-16
- Comitter:
- hx6730
- Date:
- Mon May 16 06:16:10 2016 +0000
- Commit message:
- 1
;
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TextLCD.lib Mon May 16 06:16:10 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/simon/code/TextLCD/#308d188a2d3a
--- /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
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon May 16 06:16:10 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/7c328cabac7e \ No newline at end of file