This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Description
Hi Khoi,
Describe the bug
I'm not sure if this is a bug or a "feature", but I wanted to dynamically change the PWM frequency and I'm not able to do so using the setPWM function.
Steps to Reproduce
Example code: https://pastebin.com/raw/bAJ09Jn9
Expected behavior
I was expecting to have 2s of 1000Hz and then 2s of 2000Hz repeatedly.
Actual behavior
Frequency stays constant at 1000Hz.
Thanks,
Américo