FRDM-STBC-AGM01

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FRDM-STBC-AGM01

761件の閲覧回数
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 件の賞賛
返信
1 返信

644件の閲覧回数
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 件の賞賛
返信