Chaitanya Viswa
/
xslave
i2c slave sending 4 bit sensor data to master
Diff: slave.h
- Revision:
- 0:acc1f8a1b321
diff -r 000000000000 -r acc1f8a1b321 slave.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slave.h Sat Jul 05 06:38:13 2014 +0000 @@ -0,0 +1,4 @@ +#include "mbed.h" + +void write_to_master(char); //function to write data to master +void FUNC_I2C_SLAVE_MAIN(int slave_address,int iterations);