sakthi priya amirtharaj
/
BAE_vr2_1_3
i2c working with old hk
Fork of BAE_vr2_1_1 by
beacon.h@14:ef6be8ac6569, 2014-12-17 (annotated)
- Committer:
- sakthipriya
- Date:
- Wed Dec 17 06:06:59 2014 +0000
- Revision:
- 14:ef6be8ac6569
- Parent:
- 0:8b0d43fe6c05
i2c working with old hk
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}};*/ |