![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Finished project.
Fork of ReferredCoursework2016 by
main.cpp
- Committer:
- J_Satchell
- Date:
- 2017-08-17
- Revision:
- 90:38dfa3f350aa
- Parent:
- 89:c55aa4c1187f
- Child:
- 91:cd9fcd45ecf6
File content as of revision 90:38dfa3f350aa:
/*main.cpp*/ #include "mbed.h" #include "x_nucleo_iks01a1.h" #include "sensor.h" #include "buffer.h" Thread sensorThread; /* Simple main function that calls the required functions*/ int main() { printf("\r\n--- Starting new run ---\r\n"); wait(3); while (1) { sensorThread.start(sensor_run); print_averages(); wait(0.1); } }