![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
vr1.1
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of CDMS_RTOS_v1_1 by
Diff: i2c.cpp
- Revision:
- 15:2c8629da6ec9
- Parent:
- 12:cb3ee1ac3638
--- a/i2c.cpp Tue Jul 14 10:14:36 2015 +0000 +++ b/i2c.cpp Thu Jul 16 09:42:13 2015 +0000 @@ -1,12 +1,12 @@ #include "mbed.h" -//#include "pin_config.h" +#include "pin_config.h" #include "i2c.h" #include "all_funcs.h" Serial gc(USBTX,USBRX); -InterruptIn irpt_4m_slv(D9); //I2c interrupt from CDMS -DigitalOut irpt_2_slv(D8); //I2C interrupt to CDMS -I2C master(D14,D15); +InterruptIn irpt_4m_slv(PIN4); //I2c interrupt from CDMS +DigitalOut irpt_2_slv(PIN5); //I2C interrupt to CDMS +I2C master(PIN32,PIN31);