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

Revision:
13:91e4be27e7c1
Parent:
8:de16b5531476
--- a/MSS.h	Fri Feb 24 04:25:10 2017 +0000
+++ b/MSS.h	Fri Mar 10 04:19:05 2017 +0000
@@ -144,7 +144,7 @@
 #define PIN_AN5  PTB13
 #define BOARD_NAME "FRDM-KL05Z"
 
-#elif define (TARGET_F411RE)
+#elif defined (TARGET_F411RE)
 /* I2C */
 #define PIN_SCL  PB_8
 #define PIN_SDA  PB_9
@@ -169,6 +169,31 @@
 #define PIN_AN5  PC_0
 #define BOARD_NAME "NUCLEO-F411RE"
 
+#elif defined (TARGET_MAX32600MBED)
+/* I2C */
+#define PIN_SCL  P2_7
+#define PIN_SDA  P2_6
+/* SPI */
+#define PIN_SCK  P2_0
+#define PIN_MISO P2_2
+#define PIN_MOSI P2_1
+#define PIN_CS0  P2_3
+/* Interrupt */
+#define PIN_INT0 P2_4
+#define PIN_INT1 P2_5
+#define PIN_INT2 P1_7
+#define PIN_INT3 P1_6
+#define PIN_INT4 P1_5
+#define PIN_INT5 P1_4
+/* Analog In */
+#define PIN_AN0  AIN_0P
+#define PIN_AN1  AIN_1P
+#define PIN_AN2  AIN_2P
+#define PIN_AN3  AIN_3P
+#define PIN_AN4  AIN_4P
+#define PIN_AN5  AIN_5P
+#define BOARD_NAME "MAX32600MBED"
+
 #else
  #error TARGET NOT DEFINED
 /* I2C */
@@ -203,6 +228,8 @@
 #define LED_D7   D1
 #define LED_D8   D0
 
+
+
 #endif
 
 #endif /* _MSS_H_ */
\ No newline at end of file