Lol smth

Dependencies:   LocalPositionSystem MMA8451Q Motor_Driver Sensors mbed

Fork of TDP_main_BartFork by Yelfie

Committer:
Joseph_Penikis
Date:
Fri Feb 13 16:26:23 2015 +0000
Revision:
3:0274e082582e
Parent:
2:e2adb7ab2947
Child:
4:3aa9c1c734fe
Test

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Joseph_Penikis 3:0274e082582e 1 // TESTING REPO COMMIT
Joseph_Penikis 3:0274e082582e 2
Reckstyle 2:e2adb7ab2947 3 /*
Reckstyle 2:e2adb7ab2947 4 ****** MAIN PROGRAM ******
Reckstyle 2:e2adb7ab2947 5
Reckstyle 2:e2adb7ab2947 6 TODO : organisational routine still to be decided.
Reckstyle 2:e2adb7ab2947 7 3 main approaches:
Reckstyle 2:e2adb7ab2947 8 -sequential prirority based tasks
Reckstyle 2:e2adb7ab2947 9 -Timer/Ticker driven with sequential prirority based tasks
Reckstyle 2:e2adb7ab2947 10 - interrupt driven from sensor inputs
Reckstyle 2:e2adb7ab2947 11
Reckstyle 2:e2adb7ab2947 12 Please consider that although it is an embedded envrionment we are NOT creating a HARD-TIME real time system - delays can be dealt with
Reckstyle 2:e2adb7ab2947 13 */
Reckstyle 2:e2adb7ab2947 14
Reckstyle 2:e2adb7ab2947 15
Reckstyle 2:e2adb7ab2947 16
Reckstyle 0:5ca0450111f3 17 #include "mbed.h"
Reckstyle 0:5ca0450111f3 18 #include "sensor_measure.h"
Reckstyle 0:5ca0450111f3 19
Reckstyle 0:5ca0450111f3 20
Reckstyle 0:5ca0450111f3 21 int main() {
Reckstyle 0:5ca0450111f3 22
Reckstyle 2:e2adb7ab2947 23 sensor_initialise(); // initialise sensor values
Reckstyle 0:5ca0450111f3 24 wait(1); //give time to set up the system
Reckstyle 0:5ca0450111f3 25
Reckstyle 0:5ca0450111f3 26 }