![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
gvfc
Fork of BAE_FRDM by
slave.h@1:b4bb78a9b92e, 2014-12-02 (annotated)
- Committer:
- greenroshks
- Date:
- Tue Dec 02 04:38:19 2014 +0000
- Revision:
- 1:b4bb78a9b92e
- Parent:
- 0:8b0d43fe6c05
BAE FRDM final
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
greenroshks | 0:8b0d43fe6c05 | 1 | #include "mbed.h" |
greenroshks | 0:8b0d43fe6c05 | 2 | #define WriteGeneral 3 |
greenroshks | 0:8b0d43fe6c05 | 3 | #define ReadAddressed 1 |
greenroshks | 0:8b0d43fe6c05 | 4 | #define slave_address 0x20 |
greenroshks | 0:8b0d43fe6c05 | 5 | void write_to_master(char); //function to write data to master |
greenroshks | 0:8b0d43fe6c05 | 6 | void FUNC_I2C_SLAVE_MAIN(int iterations); |