![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
hk data sent using string
Fork of BAE_FRDMTESIN2 by
Diff: slave.h
- Revision:
- 0:8b0d43fe6c05
- Child:
- 9:221d218f4690
diff -r 000000000000 -r 8b0d43fe6c05 slave.h --- /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