FRDM-STBC-AGM01

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FRDM-STBC-AGM01

377 Views
mukeshprasad
Contributor I

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

0 Kudos
1 Reply

260 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi mukesh prasa,

    Yes, you just need to change the I2C address, now did you try to run it on your board, any function question?

    If you still have problems, just let me know!


Have a great day,
Jingjing

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos