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:
- 3:0a718d139ed1
- Parent:
- 1:dc87724abce8
- Child:
- 4:256f2cbe3fdd
--- a/main.cpp Thu Apr 11 13:24:08 2019 +0000 +++ b/main.cpp Wed Apr 24 16:00:07 2019 +0000 @@ -8,7 +8,7 @@ Serial pc(SERIAL_TX, SERIAL_RX); RPLidar lidar; BufferedSerial se_lidar(PA_9, PA_10); -PwmOut rplidar_motor(A3); +PwmOut rplidar_motor(D3); int main() { @@ -33,6 +33,6 @@ { pc.printf("%f\t%f\t%d\t%c\n", data.distance, data.angle, data.quality, data.startBit); // Prints one lidar measurement. } - wait(0.1); + wait(0.01); } } \ No newline at end of file