Silvan Li
/
mbedKart_sp
(notes)
Diff: main.cpp
- Revision:
- 40:5f44e4081eb8
- Parent:
- 38:db41ff8c0e00
- Child:
- 42:d7e8f7331a65
--- a/main.cpp Thu Dec 13 02:44:10 2018 +0000 +++ b/main.cpp Thu Dec 13 03:07:51 2018 +0000 @@ -2,6 +2,7 @@ #include "Motor.h" #include "rgbled.h" #include "rgbSensor.h" +#include "SDFileSystem.h" #include "universal.h" #include <ctime> @@ -148,12 +149,12 @@ int main() { pc.printf("Initializing "); + // Start threads thread1.start(check_RGB); thread2.start(speed_control); // Since we're stopped, this won't do anything thread3.start(powerupthread); - std::clock_t start; double duration; start = std::clock();