zauberzeug / lizard

Domain-specific language to specify behaviour of microcontroller managed hardware
MIT License
15 stars 5 forks source link

Update PWM output frequency to 2000 Hz #73

Closed Johannes-Thiel closed 2 months ago

Johannes-Thiel commented 2 months ago

When testing on the Fieldfriend we noticed some flickering in the PWM on lower duty cycles. When increasing the Frequency this does not happen anymore.

falkoschindler commented 2 months ago

@Johannes-Thiel and I just discussed that a default frequency of 2000Hz might be a bit random, and LEDs flickering at 0% duty cycle might be more of a application-specific problem and can be fixed with a line in the startup script. Therefore I'll close this PR - at least until we have a stronger argument for such a (breaking) change.