Puck.js magnetometer on 2V29 #8030
Unanswered
yerpj
asked this question in
Puck.js, Pixl.js, Jolt.js and MDBT42
Replies: 1 comment 5 replies
|
edit: sorry - I see from the title you're on 2v29 too. It might be worth checking the battery level - the microcontroller can run at lower voltages than some of the peripherals so if it's very low then the magnetometer might have issues.
Do you have any example values? I just tried your code on a Puck.js running 2v29, uploading to RAM, Flash and just pasting to the REPL and it all appears to work as expected, and doesn't need the carriage return. ...also which Puck.js version are you using? It's written on the back of the PCB where the battery goes in. I'm trying with a v2.1 here (v2.1 and later use MMC5603NJ but other Pucks use different ones and I guess it's possible there was a regression for those) |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
Is anyone having issues with the Puck magnetometer API?
Trying to run the following for an intern, and doesn't work as expected.
Puck need to receive a
carriage return(or whatever ENTER press sends to it) to actually letconsole.logachieve its goal. Furthermore, p.x, p.y and p.z seems unconsistantAll reactions