Wataru Nakata / Mbed 2 deprecated r1370_test

Dependencies:   R1307 mbed

Files at this revision

API Documentation at this revision

Comitter:
WAT34
Date:
Fri Sep 01 06:13:21 2017 +0000
Commit message:
test

Changed in this revision

R1307.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /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
--- /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
+    }
+}
--- /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