6 years, 7 months 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

6 years, 7 months 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.

Yes, I corrected those mistakes and change ports but the libraries, not to add that I should add and if I make any changes besides the Ack / NonAck

posted by Alfredo Nahuat 13 Nov 2014

I don't know what you are trying to say now.

posted by Erik - 13 Nov 2014