sahilsharma09
Member
Hi,
Was wondering if it is possible to modify the analogWriteFrequency function so that it becomes double buffered similiar to the analogWrite function?
Namely I just want the new frequency I specify using analogWriteFrequency to take effect on the next PWM cycle so that there is a smooth transition.
I am using a teensy 3.6 and need a way to transition from one PWM frequency and duty cycle to another smoothly.
Thanks so much.
-Sahil
Was wondering if it is possible to modify the analogWriteFrequency function so that it becomes double buffered similiar to the analogWrite function?
Namely I just want the new frequency I specify using analogWriteFrequency to take effect on the next PWM cycle so that there is a smooth transition.
I am using a teensy 3.6 and need a way to transition from one PWM frequency and duty cycle to another smoothly.
Thanks so much.
-Sahil