Seeker of Truth ,
/
CDMS_icecream
cdms i2c only integration
Fork of CDMS_icecream by
Diff: main.cpp
- Revision:
- 4:62f0d8dc2dca
- Parent:
- 3:6c1ed31073f0
diff -r 6c1ed31073f0 -r 62f0d8dc2dca main.cpp --- a/main.cpp Sat Jan 31 14:14:01 2015 +0000 +++ b/main.cpp Thu Apr 09 15:14:06 2015 +0000 @@ -1,11 +1,11 @@ #include "mbed.h" #include "rtos.h" - +#include "pin_config.h" const int addr = 0x20; //slave address I2C master (D14,D15); //configure pins p27,p28 as I2C master Serial pc (USBTX,USBRX); -DigitalOut interrupt(D9); -InterruptIn data_ready(D10); +DigitalOut interrupt(PIN4); +InterruptIn data_ready(PIN39); int reset; Timer t;