02/07/15
Dependencies: mbed
Calculate.h@48:e9578f56534a, 2015-07-13 (annotated)
- Committer:
- aidanPJG
- Date:
- Mon Jul 13 14:44:08 2015 +0000
- Revision:
- 48:e9578f56534a
- Parent:
- 38:da262dc4f90a
- 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?
User | Revision | Line number | New contents of line |
---|---|---|---|
aidanPJG | 22:34bc2f2f5b09 | 1 | #ifndef CALCULATE_H |
aidanPJG | 22:34bc2f2f5b09 | 2 | #define CALCULATE_H |
aidanPJG | 22:34bc2f2f5b09 | 3 | |
aidanPJG | 33:929f1755664b | 4 | int calculate(float distance); |
aidanPJG | 48:e9578f56534a | 5 | void printArray(int times[3]); |
aidanPJG | 18:bb632df62f51 | 6 | |
aidanPJG | 22:34bc2f2f5b09 | 7 | #endif |