You are reading a single comment by @user52526 and its replies. Click here to read the full conversation.
  • I'm not 100% sure on the highest frequency, but I believe it is over 1MHz.

    My guess is that based on Espruino's execution speed, your code might struggle to run at 1KHz.

    You can definitely do a bit better with software if you need to (using setInterval and digitalPulse) but for things like PWM using the hardware wherever possible is preferable.

About

Avatar for user52526 @user52526 started