ahhh the duty cycle, that was my problem, thank you!
I also had to replace the initial start value with 0.
analogWrite(A5, 0.5,{freq: 35000}); digitalPulse(A6, 0, command); digitalPulse(A6, 1, 0);
@Adam 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.
ahhh the duty cycle, that was my problem, thank you!
I also had to replace the initial start value with 0.