Thanks for the answers @DrAzzy - yes, there's a bug open for trying to make the interpreter more intelligent about choosing timers, but you're still likely to hit problems. At least if it were smarter it would be able to tell you though.
I'll add a note to the board's pinout page though that B4 and B5 aren't good PWM pins to use though.
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.
Thanks for the answers @DrAzzy - yes, there's a bug open for trying to make the interpreter more intelligent about choosing timers, but you're still likely to hit problems. At least if it were smarter it would be able to tell you though.
I'll add a note to the board's pinout page though that B4 and B5 aren't good PWM pins to use though.