02/07/15

Dependencies:   mbed

Dependents:   TabbedGUIMbed

Committer:
aidanPJG
Date:
Mon Jul 13 14:44:08 2015 +0000
Revision:
48:e9578f56534a
Parent:
47:1dc3b5f7bf4a
Child:
50:d794595c6868
Added userInput however it doesn't really work. It returns a weird negative distance and 0 for number of sensors. Or maybe the other way around

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ADAMSTRUTT 17:d9fb4a3780c7 1 #include "mbed.h"
ADAMSTRUTT 17:d9fb4a3780c7 2 #include "Calculate.h"
ADAMSTRUTT 17:d9fb4a3780c7 3 #include "Distance.h"
ADAMSTRUTT 35:085a674c9fdf 4 #include "Data.h"
aidanPJG 48:e9578f56534a 5 #include "UserInput.h"
ADAMSTRUTT 20:0b2279011691 6 //#include "Counter.h
ADAMSTRUTT 35:085a674c9fdf 7
aidanPJG 25:bab86a12e9ad 8 Serial pc(USBTX, USBRX); // tx, rx
ADAMSTRUTT 17:d9fb4a3780c7 9
ADAMSTRUTT 20:0b2279011691 10 int main(void)
aidanPJG 7:d6f78ba7c5f7 11 {
aidanPJG 48:e9578f56534a 12 // initialise(); //used to create the Datalog file
aidanPJG 48:e9578f56534a 13 // calculate(5); //testing
aidanPJG 48:e9578f56534a 14 input();
ADAMSTRUTT 17:d9fb4a3780c7 15 }