![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
pwm gen works.new pins assigned to all except interrupt. everything works except beacon spi.
Fork of pcb_test_v1_1 by
Diff: main.cpp
- Revision:
- 1:bbddd1763652
- Parent:
- 0:e91ee0e99213
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