You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.
I am trying to use slow PWI with a float duty cycle. Ideally I like to set duty cycles to several digits. For example if PWM frequency is 1kHz, I like to be able to set PWM duty cycle resolution to 8nsec which is a duty cycle resolution of 0.000008. However with the current software it is only possible to change at a resolution of 0.01. Can you modify the software to achieve this. Also, when duty cycle is change the program prints to serial terminal. How can I turn the printing off?
The text was updated successfully, but these errors were encountered:
set PWM duty cycle resolution to 8nsec which is a duty cycle resolution of 0.000008
There is no way this library, or even hardware-based PWM, can achieve that kind of absurd resolution of 8nsec.
You have to know that SAMD hardware timer clock is around 48MHz, and this slow PWM library can provide the accuracy around uSec or mSec range.
Also, when duty cycle is change the program prints to serial terminal. How can I turn the printing off?
I am trying to use slow PWI with a float duty cycle. Ideally I like to set duty cycles to several digits. For example if PWM frequency is 1kHz, I like to be able to set PWM duty cycle resolution to 8nsec which is a duty cycle resolution of 0.000008. However with the current software it is only possible to change at a resolution of 0.01. Can you modify the software to achieve this. Also, when duty cycle is change the program prints to serial terminal. How can I turn the printing off?
The text was updated successfully, but these errors were encountered: