Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 1:9e4b9c339ea2
- Parent:
- 0:2b691d200d6f
diff -r 2b691d200d6f -r 9e4b9c339ea2 main.cpp --- a/main.cpp Tue Apr 09 17:53:31 2019 +0000 +++ b/main.cpp Thu Apr 11 13:15:55 2019 +0000 @@ -32,8 +32,9 @@ // poll for measurements. Returns -1 if no new measurements are available. returns 0 if found one. if(lidar.pollSensorData(&data) == 0) { + //if(data.angle < 5.0 && data.angle > -5.0) pc.printf("%f\t%f\t%d\t%c\n", data.distance, data.angle, data.quality, data.startBit); } - wait(0.1); + //wait(0.02); } }