I2C sensor test program, derived from testI2C program. Simple test for FXOS8700CQ, HIH6130, MAG3110, MMA8451Q, MMA8452Q, MPL3115A2, MAX44000, MAX44005, MAX44008, MAX30101 included beside simple I2C read/write from testI2C.
Dependencies: FXOS8700CQ HIH6130 IS31SE5000 MAG3110 MAX44000 MAX44005 MAX44008 MMA8451Q MMA8452Q MPL3115A2 VEML6040 VEML6075 mbed vt100 LM75B FXAS21002 MAX30101 VCNL4020 VCNL4100
Diff: MSS.h
- Revision:
- 8:de16b5531476
- Parent:
- 0:d4bbd473a83c
- Child:
- 13:91e4be27e7c1
--- a/MSS.h Fri Jul 29 08:23:21 2016 +0000 +++ b/MSS.h Fri Aug 05 07:57:22 2016 +0000 @@ -99,12 +99,16 @@ #define PIN_MOSI PTD6 #define PIN_CS0 PTD4 /* Interrupt */ -#define PIN_INT0 PTA1 -#define PIN_INT1 PTB19 -#define PIN_INT2 PTC6 -#define PIN_INT3 PTC3 -#define PIN_INT4 PTB18 -#define PIN_INT5 PTA4 +//#define PIN_INT0 PTA1 +//#define PIN_INT1 PTB19 +//#define PIN_INT2 PTC6 +//#define PIN_INT3 PTC3 +//#define PIN_INT4 PTB18 +//#define PIN_INT5 PTA4 +#define PIN_INT0 PTB16 +#define PIN_INT1 PTB17 +#define PIN_INT2 PTB18 +#define PIN_INT3 PTB19 /* Analog Input */ #define PIN_AN0 PTB0 #define PIN_AN1 PTB1 @@ -112,7 +116,8 @@ #define PIN_AN3 PTC2 // #define PIN_AN4 PTB3 // #define PIN_AN5 PTB2 -#define BOARD_NAME "FRDM-K22F" +// #define BOARD_NAME "FRDM-K22F" +#define BOARD_NAME "f-shaft-II" #elif defined (TARGET_KL05Z) /* I2C */