
Lol smth
Dependencies: LocalPositionSystem MMA8451Q Motor_Driver Sensors mbed
Fork of TDP_main_BartFork by
main.cpp
- Committer:
- Joseph_Penikis
- Date:
- 2015-02-21
- Revision:
- 4:3aa9c1c734fe
- Parent:
- 3:0274e082582e
- Child:
- 5:2fc7bf0135d4
File content as of revision 4:3aa9c1c734fe:
// TESTING REPO COMMIT /* ****** MAIN PROGRAM ****** TODO : organisational routine still to be decided. 3 main approaches: -sequential prirority based tasks -Timer/Ticker driven with sequential prirority based tasks - interrupt driven from sensor inputs Please consider that although it is an embedded envrionment we are NOT creating a HARD-TIME real time system - delays can be dealt with */ #include "mbed.h" #include "sensor_measure.h" #include "motor_driver.h" int main() { sensor_initialise(); // initialise sensor values wait(1); //give time to set up the system }