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:
- 12:946f56f78d2b
- Parent:
- 11:531208aca075
- Parent:
- 10:8f4183d640d8
- Child:
- 14:0e6b26c1a7c5
--- a/main.cpp Tue Apr 23 19:56:39 2019 +0000 +++ b/main.cpp Tue Apr 23 20:00:04 2019 +0000 @@ -6,9 +6,9 @@ BusOut led(LED1, LED2, LED3, LED4); DigitalIn pb(p23); -float* obstacles = new float[360]; +int* obstacles = new int[360]; int trajectoryLength = 0; -float* trajectory = new float[0]; +int* trajectory = new int[0]; int main() { delete []trajectory;