yuiyui

Dependencies:   SRF08 mbed

Fork of SRF08HelloWorld by Matthew Else

Files at this revision

API Documentation at this revision

Comitter:
wj8000000
Date:
Fri Feb 13 08:25:24 2015 +0000
Parent:
0:b757a3e4f64e
Commit message:
uyuiy

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Jul 17 12:50:51 2013 +0000
+++ b/main.cpp	Fri Feb 13 08:25:24 2015 +0000
@@ -1,5 +1,5 @@
 #include "mbed.h"
-#include "SRF08.h"
+
  
 SRF08 srf08(p9, p10, 0xE0);      // Define SDA, SCL pin and I2C address
  
@@ -7,6 +7,7 @@
  
     while (1) {
        printf("Measured range : %.2f cm\n",srf08.read());
+       
        wait(0.1);
     }