-
• #2
Sorry about that - I'll look into this now. 2v04 will be absolutely fine, but 2v05 should have worked.
-
• #3
I'm just looking into this, and it seems that
Puck.mag()
works fine on 2v05 and later. It's justmagOn
that has problems. -
• #4
Ok, if you try a 'cutting edge' build from https://www.espruino.com/binaries/travis/master/ then it should now be fixed. I'll try and get a 2v06 release out soon with this sorted.
That was a particularly strange issue - I've basically just had to revert to using the original I2C code to get it working reliably.
-
• #5
Thanks for the fast reply, Gordon.
For a moment I thought the 1v and 2v in the firmware version number might relate to v1 and v2 puck support.
Robin
I have a couple of original pucks. What is the latest version of the firmware I can use with them? I upgraded to v2.0.5 and was seeing some weird behaviour with the magnetometer.
With this code to log the x,y,z values:
I get crazy values that jump all over the place with 2v05:
The same code on 1v95 give sensible readings: