sakthi priya amirtharaj
/
BAE_FRDM_INTEGRATION
i2c slave integrated
Fork of BAE_FRDM_INTEGRATION by
Diff: slave.h
- Revision:
- 0:8b0d43fe6c05
- Child:
- 9:a9de938283f9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slave.h Wed Sep 10 06:41:21 2014 +0000 @@ -0,0 +1,6 @@ +#include "mbed.h" +#define WriteGeneral 3 +#define ReadAddressed 1 +#define slave_address 0x20 +void write_to_master(char); //function to write data to master +void FUNC_I2C_SLAVE_MAIN(int iterations); \ No newline at end of file