02/07/15

Dependencies:   mbed

Dependents:   TabbedGUIMbed

Committer:
aidanPJG
Date:
Thu Jul 09 13:34:13 2015 +0000
Revision:
45:eb06f1d42938
Parent:
44:3b45ec49bc44
Child:
47:1dc3b5f7bf4a
Added averageData() method that adds the average speed to the end of the xl file

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"
ADAMSTRUTT 20:0b2279011691 5 //#include "Counter.h
ADAMSTRUTT 35:085a674c9fdf 6
aidanPJG 25:bab86a12e9ad 7 Serial pc(USBTX, USBRX); // tx, rx
ADAMSTRUTT 17:d9fb4a3780c7 8
ADAMSTRUTT 20:0b2279011691 9 int main(void)
aidanPJG 7:d6f78ba7c5f7 10 {
aidanPJG 44:3b45ec49bc44 11 initialise(); //used to create the Datalog file
aidanPJG 45:eb06f1d42938 12 calculate(5); //testing
aidanPJG 45:eb06f1d42938 13 averageData(); // adds the average from B2 to B6
ADAMSTRUTT 17:d9fb4a3780c7 14 }