sakthi priya amirtharaj
/
BAE_hw_test1_5
with i2c
Fork of BAE_b4hw_test by
Diff: slave.h
- Revision:
- 0:ebdf4f859dca
diff -r 000000000000 -r ebdf4f859dca slave.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slave.h Fri Dec 19 06:47:25 2014 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" +#define WriteGeneral 3 +#define ReadAddressed 1 +#define slave_address 0x20 + + +void FUNC_I2C_WRITE2CDMS(char* ,int); +void FUNC_I2C_IR2CDMS(); +void FUNC_I2C_INT(); +void FUNC_I2C_RESET(); +void FUNC_I2C_TC_EXECUTE (char command) ; +