02/07/15
Dependencies: mbed
main.cpp@53:10f4f519ba69, 2015-07-16 (annotated)
- Committer:
- aidanPJG
- Date:
- Thu Jul 16 14:08:26 2015 +0000
- Revision:
- 53:10f4f519ba69
- Parent:
- 50:d794595c6868
- Child:
- 54:9322b1b76e13
Calculate now takes in 2 parameters. Number of pins and the distance between the pins.
Who changed what in which revision?
User | Revision | Line number | New 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 | 50:d794595c6868 | 12 | initialise(); //used to create the Datalog file |
aidanPJG | 53:10f4f519ba69 | 13 | calculate(5,3); //testing |
aidanPJG | 50:d794595c6868 | 14 | |
ADAMSTRUTT | 17:d9fb4a3780c7 | 15 | } |