sakthi priya amirtharaj
/
BAE_vr2_1_3
i2c working with old hk
Fork of BAE_vr2_1_1 by
beacon.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 | |
greenroshks | 0:8b0d43fe6c05 | 3 | void writereg(uint8_t reg,uint8_t val); |
greenroshks | 0:8b0d43fe6c05 | 4 | uint8_t readreg(uint8_t reg); |
greenroshks | 0:8b0d43fe6c05 | 5 | void FUNC_BEA(); |
greenroshks | 0:8b0d43fe6c05 | 6 | /*struct ShortBeacon { |
greenroshks | 0:8b0d43fe6c05 | 7 | char Voltage[1]; |
greenroshks | 0:8b0d43fe6c05 | 8 | char AngularSpeed[2]; |
greenroshks | 0:8b0d43fe6c05 | 9 | char SubsystemStatus[1]; |
greenroshks | 0:8b0d43fe6c05 | 10 | char Temp[3]; |
greenroshks | 0:8b0d43fe6c05 | 11 | char ErrorFlag[1]; |
greenroshks | 0:8b0d43fe6c05 | 12 | } |
greenroshks | 0:8b0d43fe6c05 | 13 | Shortbeacon = {{0x22}, {0x22, 0x33} , {0x00},{0x00,0x00,0x00}, {0x01}};*/ |