todbot / circuitpython-tricks

Some CircuitPython tricks, mostly reminders to myself
MIT License
577 stars 65 forks source link

PWM out typo #1

Closed jedgarpark closed 3 years ago

jedgarpark commented 3 years ago

I think out1.out1.duty_cycle = 32768 # mid-point 0-65535 = 50 % duty-cycle should be out1.duty_cycle = 32768 # mid-point 0-65535 = 50 % duty-cycle

todbot commented 3 years ago

yes typo. not my fault

todbot commented 3 years ago

okay maybe my fault