i2c working

Dependencies:   mbed-rtos mbed

Fork of BAE_FRDMTESIN2 by Seeker of Truth ,

Committer:
greenroshks
Date:
Tue Dec 16 07:44:54 2014 +0000
Revision:
10:ed6d3b8d1d56
Parent:
0:8b0d43fe6c05
working

Who changed what in which revision?

UserRevisionLine numberNew 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}};*/