Hi,
I made this changes in this board to access the shield board ( FRDM-STBC-AGM01 ) .Any mode change will require in that code ,or we have to keep as it .
Serial pc(USBTX, USBRX);
I2C i2c(PTE25, PTE24);
//FXOS8700Q fxos(i2c, FXOS8700CQ_SLAVE_ADDR1);
//FXOS8700QAccelerometer acc(i2c, FXOS8700CQ_SLAVE_ADDR1); // Configured for the FRDM-K64F with onboard sensors
//FXOS8700QMagnetometer mag(i2c, FXOS8700CQ_SLAVE_ADDR1);
FXOS8700QAccelerometer acc(i2c, FXOS8700CQ_SLAVE_ADDR0); //---- Configured for use with the FRDM-MULTI shield
FXOS8700QMagnetometer mag(i2c, FXOS8700CQ_SLAVE_ADDR0);
Regards
Mk