i2c working with old hk

Dependencies:   mbed-rtos mbed

Fork of BAE_vr2_1_1 by green rosh

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?

UserRevisionLine numberNew 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);