Mechatronics example program

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
ykuroda
Date:
Thu Oct 05 07:45:04 2017 +0000
Parent:
0:fbfdf477cfd1
Commit message:
small update;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Oct 05 07:44:05 2017 +0000
+++ b/main.cpp	Thu Oct 05 07:45:04 2017 +0000
@@ -7,6 +7,6 @@
     while(1) {
         myled = ~myled; // LED is toggled
 
-        printf("D[%1d]\n",d0);
+        printf("D[%1d]\n",d0.read());
     }
 }