sakthi priya amirtharaj
/
BAE_vr2_gingerbread2
mag n gyro included
Fork of BAE_vr2_gingerbread2 by
beacon.h@0:e9c32e1df869, 2014-12-17 (annotated)
- Committer:
- sakthipriya
- Date:
- Wed Dec 17 06:52:26 2014 +0000
- Revision:
- 0:e9c32e1df869
- Child:
- 4:12fe853d8bcf
i2c working with new hk(no battery gauge)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sakthipriya | 0:e9c32e1df869 | 1 | #include "mbed.h" |
sakthipriya | 0:e9c32e1df869 | 2 | |
sakthipriya | 0:e9c32e1df869 | 3 | void writereg(uint8_t reg,uint8_t val); |
sakthipriya | 0:e9c32e1df869 | 4 | uint8_t readreg(uint8_t reg); |
sakthipriya | 0:e9c32e1df869 | 5 | void FUNC_BEA(); |
sakthipriya | 0:e9c32e1df869 | 6 | /*struct ShortBeacon { |
sakthipriya | 0:e9c32e1df869 | 7 | char Voltage[1]; |
sakthipriya | 0:e9c32e1df869 | 8 | char AngularSpeed[2]; |
sakthipriya | 0:e9c32e1df869 | 9 | char SubsystemStatus[1]; |
sakthipriya | 0:e9c32e1df869 | 10 | char Temp[3]; |
sakthipriya | 0:e9c32e1df869 | 11 | char ErrorFlag[1]; |
sakthipriya | 0:e9c32e1df869 | 12 | } |
sakthipriya | 0:e9c32e1df869 | 13 | Shortbeacon = {{0x22}, {0x22, 0x33} , {0x00},{0x00,0x00,0x00}, {0x01}};*/ |