sakthi priya amirtharaj
/
BAE_vr2_gingerbread2
mag n gyro included
Fork of BAE_vr2_gingerbread2 by
beacon.h
- Committer:
- sakthipriya
- Date:
- 2014-12-17
- Revision:
- 4:12fe853d8bcf
- Parent:
- 0:e9c32e1df869
File content as of revision 4:12fe853d8bcf:
#include "mbed.h" #include "pin_config.h" void writereg(uint8_t reg,uint8_t val); uint8_t readreg(uint8_t reg); void FUNC_BEA(); /*struct ShortBeacon { char Voltage[1]; char AngularSpeed[2]; char SubsystemStatus[1]; char Temp[3]; char ErrorFlag[1]; } Shortbeacon = {{0x22}, {0x22, 0x33} , {0x00},{0x00,0x00,0x00}, {0x01}};*/