Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 1 month ago.
using the magnetic sensor from board Kinetis K22F
I tried to use it as I want to perform a digital compass but even I did not and managed to succeed and able to use the hello sensor that is included in some questions but still not e able to carry out compass if someone could advise me I would appreciate .
1 Answer
10 years, 1 month ago.
You will need to make sure you are using the correct address and pinout for the K22F board. In addition there was a bug in the I2C code for the K22F. This has been fixed, but hasn't been rolled out to the mbed lib yet. If you delete your mbed lib and import http://developer.mbed.org/users/mbed_official/code/mbed-src/ you will have fixed version.