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:
- 20:d9a373fecd42
- Parent:
- 19:41d0cc14edc5
--- a/main.cpp Thu Apr 25 18:53:13 2019 +0000 +++ b/main.cpp Thu Apr 25 22:13:21 2019 +0000 @@ -12,7 +12,7 @@ int trajectoryLength = 0; int* trajectory = new int[0]; uint32_t lidarDistance = 0; -bool useImu = false; +volatile bool useImu = false; void getLidarDistance() { DevI2C* lidarDevice = new DevI2C(p28, p27);