Wataru Nakata
/
r1370_test
test program
Revision 0:b94fb78f74ea, committed 2017-09-01
- Comitter:
- WAT34
- Date:
- Fri Sep 01 06:13:21 2017 +0000
- Commit message:
- test
Changed in this revision
diff -r 000000000000 -r b94fb78f74ea R1307.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/R1307.lib Fri Sep 01 06:13:21 2017 +0000 @@ -0,0 +1,1 @@ +https://developer.mbed.org/users/WAT34/code/R1307/#1356771603cf
diff -r 000000000000 -r b94fb78f74ea main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Sep 01 06:13:21 2017 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + +DigitalOut myled(LED1); +R1307 r1307(PA_10,PA_11); + +int main() { + while(1) { + myled = 1; // LED is ON + wait(0.2); // 200 ms + myled = 0; // LED is OFF + wait(1.0); // 1 sec + } +}
diff -r 000000000000 -r b94fb78f74ea mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Sep 01 06:13:21 2017 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/a330f0fddbec \ No newline at end of file