![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Finished project.
Fork of ReferredCoursework2016 by
Diff: main.cpp
- Revision:
- 91:cd9fcd45ecf6
- Parent:
- 90:38dfa3f350aa
--- a/main.cpp Thu Aug 17 02:42:30 2017 +0000 +++ b/main.cpp Thu Aug 17 06:58:29 2017 +0000 @@ -12,13 +12,15 @@ printf("\r\n--- Starting new run ---\r\n"); wait(3); - + + sensorThread.start(sensor_run); + Thread::wait(0.1); + while (1) { - - sensorThread.start(sensor_run); + print_averages(); - wait(0.1); + Thread::wait(0.1); }