Try analogWrite(A5,0.5,{freq:35000}); This should give you a 50% duty cycle.
@ClearMemory041063 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.
Try analogWrite(A5,0.5,{freq:35000});
This should give you a 50% duty cycle.