sc04

Dependencies:   mbed HCSR04

Files at this revision

API Documentation at this revision

Comitter:
hypark
Date:
Wed May 30 02:35:43 2018 +0000
Parent:
0:f03a985dcde2
Commit message:
1

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r f03a985dcde2 -r b424b6de3632 main.cpp
--- a/main.cpp	Wed May 30 02:32:18 2018 +0000
+++ b/main.cpp	Wed May 30 02:35:43 2018 +0000
@@ -8,7 +8,7 @@
     {   u_sen.startMeas();          //거리 측정
         wait(0.1);
         u_sen.getMeas(dist);            //m단위 변환
-     pc.printf("DIST %0.2fm \r\n",dist);         //출력
+        pc.printf("DIST %0.2fm \r\n",dist);         //출력
         wait(0.2);                                              // delay 200 ms
      }
 }