Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
SpeedCalculate.h@2:4dd54b3934a5, 2015-08-06 (annotated)
- Committer:
- ADAMSTRUTT
- Date:
- Thu Aug 06 14:49:27 2015 +0000
- Revision:
- 2:4dd54b3934a5
- Parent:
- Calculate.h@0:efdae9d24ee1
.;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ADAMSTRUTT | 2:4dd54b3934a5 | 1 | #ifndef CALCULATE_H |
ADAMSTRUTT | 2:4dd54b3934a5 | 2 | #define CALCULATE_H |
ADAMSTRUTT | 2:4dd54b3934a5 | 3 | |
ADAMSTRUTT | 2:4dd54b3934a5 | 4 | #include "mbed.h" |
ADAMSTRUTT | 2:4dd54b3934a5 | 5 | |
ADAMSTRUTT | 2:4dd54b3934a5 | 6 | extern Serial pc; |
ADAMSTRUTT | 2:4dd54b3934a5 | 7 | |
ADAMSTRUTT | 2:4dd54b3934a5 | 8 | class SpeedCalculate{ |
ADAMSTRUTT | 2:4dd54b3934a5 | 9 | public: |
ADAMSTRUTT | 2:4dd54b3934a5 | 10 | void calculate(float distance, int noOfSensors); |
ADAMSTRUTT | 0:efdae9d24ee1 | 11 | //void printArray(double array[3], int timesArray[3],int noOfPins); |
ADAMSTRUTT | 2:4dd54b3934a5 | 12 | }; |
ADAMSTRUTT | 2:4dd54b3934a5 | 13 | |
ADAMSTRUTT | 2:4dd54b3934a5 | 14 | #endif |