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.
HK.h@0:8b0d43fe6c05, 2014-09-10 (annotated)
- Committer:
- greenroshks
- Date:
- Wed Sep 10 06:41:21 2014 +0000
- Revision:
- 0:8b0d43fe6c05
BAE FRDM Final
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| greenroshks | 0:8b0d43fe6c05 | 1 | #include "mbed.h" |
| greenroshks | 0:8b0d43fe6c05 | 2 | #define tstart -40 |
| greenroshks | 0:8b0d43fe6c05 | 3 | #define tstep 8 |
| greenroshks | 0:8b0d43fe6c05 | 4 | #define vstart 3.3 |
| greenroshks | 0:8b0d43fe6c05 | 5 | #define vstep 0.84667 |
| greenroshks | 0:8b0d43fe6c05 | 6 | #define cstart 0.0691 |
| greenroshks | 0:8b0d43fe6c05 | 7 | #define cstep 0.09133 |
| greenroshks | 0:8b0d43fe6c05 | 8 | #define rsens 0.095 |
| greenroshks | 0:8b0d43fe6c05 | 9 | |
| greenroshks | 0:8b0d43fe6c05 | 10 | |
| greenroshks | 0:8b0d43fe6c05 | 11 | |
| greenroshks | 0:8b0d43fe6c05 | 12 | struct SensorData { |
| greenroshks | 0:8b0d43fe6c05 | 13 | char Voltage[10]; |
| greenroshks | 0:8b0d43fe6c05 | 14 | char Current[10]; |
| greenroshks | 0:8b0d43fe6c05 | 15 | char Temperature[10]; |
| greenroshks | 0:8b0d43fe6c05 | 16 | //float Battery[2]; |
| greenroshks | 0:8b0d43fe6c05 | 17 | }; |
| greenroshks | 0:8b0d43fe6c05 | 18 | |
| greenroshks | 0:8b0d43fe6c05 | 19 | typedef struct ShortBeacon { |
| greenroshks | 0:8b0d43fe6c05 | 20 | char Voltage[1]; |
| greenroshks | 0:8b0d43fe6c05 | 21 | char AngularSpeed[2]; |
| greenroshks | 0:8b0d43fe6c05 | 22 | char SubsystemStatus[1]; |
| greenroshks | 0:8b0d43fe6c05 | 23 | char Temp[3]; |
| greenroshks | 0:8b0d43fe6c05 | 24 | char ErrorFlag[1]; |
| greenroshks | 0:8b0d43fe6c05 | 25 | }ShortBeacy; |
| greenroshks | 0:8b0d43fe6c05 | 26 | |
| greenroshks | 0:8b0d43fe6c05 | 27 | |
| greenroshks | 0:8b0d43fe6c05 | 28 | void FUNC_HK_MAIN(); |
| greenroshks | 0:8b0d43fe6c05 | 29 | |
| greenroshks | 0:8b0d43fe6c05 | 30 | int quantiz(float start,float step,float x); |
| greenroshks | 0:8b0d43fe6c05 | 31 | |
| greenroshks | 0:8b0d43fe6c05 | 32 |