@user72031 You could have a look at this thread http://forum.espruino.com/conversations/297915/
Thanks! ... Sadly...I still don't get it, should I just ..
var r = Puck.mag(); var angleToTheNorth = getheading(r.x,r.y,r.x);
seems not like this ?
@tc started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@user72031 You could have a look at this thread http://forum.espruino.com/conversations/297915/