You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Sure - you just specify a number in Puck.magOn, like Puck.magOn(5) - see http://www.espruino.com/Reference#l_PuckĀ­_magOn

    What kind of overflow did you get?

    If you do while(true) then the code won't exit and no other JS tasks will be able to get run - you'll have to Ctrl-C out of it. On Puck.js it's especially painful because it can't transmit that quickly, so
    when you're outputting with console.log it's basically just stuck for 99% of the time waiting for the next Bluetooth send task to finish.

About

Avatar for Gordon @Gordon started