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:
- 5:77c6821ae418
- Parent:
- 3:1dce1ba5b8bd
- Child:
- 6:c119cc5d48d6
--- a/main.cpp Fri Apr 12 23:28:04 2019 +0000 +++ b/main.cpp Sun Apr 14 03:23:36 2019 +0000 @@ -1,15 +1,12 @@ #include "mbed.h" #include "DataDistributor.h" #include "RobotController.h" -#include "Motor.h" -#include "HALLFX_ENCODER.h" -#include "LSM9DS1.h" extern Serial pc(USBTX, USBRX); int main() { - DataDistributor dataDistributor(); - RobotController robotController(); + DataDistributor dataDistributor; + RobotController robotController(p21, p15, p16, p22, p18, p19, p17, p20); while(1) { float* obstacles = robotController.obstacleDetection();