No Compass

Issue #40 resolved
Turgut Guneysu created an issue

Hi John,

I noticed the compass reading of micro:bit is not available in the Basic Sensors group.

Comments (3)

  1. Turgut Guneysu reporter

    Hi John

    What is the likelihood of having the compass readings available?

    Using it to drive the the robot car turns more precisely and would be of great help.

    Thanks,TG

  2. John Maloney repo owner

    We could certainly add a library for the BBC micro:bit compass at some point. However, in my limited experience with the compass in MakeCode, it’s tricky to use and not too reliable, even after calibration, and it can be thrown off by large metal objects nearby (e.g. a refrigerator).

    This probably wont' happen in the short term, but someone technically inclined could implement their own library using the i2c commands.

  3. Log in to comment