And the PWMOutputDevice in gpizero defaults to a frequency of 100Hz. That may not be what you want.
You could add a frequency setting
You could add a frequency setting
Code:
freq = 1000 # Defaults to 100 Hzduty = 0.5 # duty cycle 0.5 is 50% high, 50% lowenable = PWMOutputDevice(ENA)enable.value = dutyenable.frequency = freqStatistics: Posted by neilgl — Tue Dec 09, 2025 7:52 pm