cdms i2c working - but not working after hk data is sent
Fork of pcb_test_vr1_1_2 by
Diff: main.cpp
- Revision:
- 1:bbddd1763652
- Parent:
- 0:e91ee0e99213
- Child:
- 2:3d9ca9554adf
--- a/main.cpp Tue Apr 07 16:11:54 2015 +0000 +++ b/main.cpp Tue Apr 07 18:10:19 2015 +0000 @@ -26,7 +26,7 @@ Thread *ptr_t_wdt; /****************************************************************configuring I2c*********************************************************************************/ -I2CSlave slave(D14,D15); //configuring pins p27, p28 as I2Cslave +I2CSlave slave(PIN72,PIN71); //configuring pins p27, p28 as I2Cslave int i2c_status=0; //read or write mode for i2c 0: write2slave 1: write2master typedef struct //structure of i2c data