sakthi priya amirtharaj
/
BAE_vr2_1_3
i2c working with old hk
Fork of BAE_vr2_1_1 by
slave.h@0:8b0d43fe6c05, 2014-09-10 (annotated)
- Committer:
- greenroshks
- Date:
- Wed Sep 10 06:41:21 2014 +0000
- Revision:
- 0:8b0d43fe6c05
- Child:
- 9:221d218f4690
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); |