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.
Dependencies: mbed mbed-rtos Motor LSM9DS1_Library_cal X_NUCLEO_53L0A1
Diff: main.cpp
- Revision:
- 19:41d0cc14edc5
- Parent:
- 18:7ed985584ec7
- Child:
- 20:d9a373fecd42
--- a/main.cpp Thu Apr 25 16:54:57 2019 +0000 +++ b/main.cpp Thu Apr 25 18:53:13 2019 +0000 @@ -19,9 +19,9 @@ XNucleo53L0A1* lidarBoard = XNucleo53L0A1::instance(lidarDevice, A2, D8, D2); DigitalOut _lidarShdn(p26); _lidarShdn = 0; - wait(0.1); + Thread::wait(100); _lidarShdn = 1; - wait(0.1); + Thread::wait(100); int status = lidarBoard->init_board(); while (status) { status = lidarBoard->init_board();