Seeker of Truth ,
/
pcb_bae_testing_vr1_1_1
i2c testing for integration
Fork of pcb_test_v1_1_1 by
Diff: main.cpp
- Revision:
- 1:bbddd1763652
- Parent:
- 0:e91ee0e99213
- Child:
- 2:3d9ca9554adf
diff -r e91ee0e99213 -r bbddd1763652 main.cpp --- 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