pimoroni / ioe-python

Python library for the Nuvoton MS51 Pimoroni IO Expander Breakout
https://shop.pimoroni.com/products/io-expander
MIT License
8 stars 13 forks source link

PWM not set correctly for pin 4 #11

Closed neilpstevenson closed 1 year ago

neilpstevenson commented 2 years ago

The PWM output is not enabled correctly for pin 4 and the output remains low. Problem is that the wrong register is configured - PIOCON0 should be PIOCON1 .

Gadgetoid commented 2 years ago

Whew that's some good sleuthing. Thank you.

neilpstevenson commented 2 years ago

Thanks,

I’d just finished wiring up my PiWars robot using this and it was either find the issue or re wire 😀

Best Regards, Neil Stevenson.

On 9 Mar 2022, at 15:10, Philip Howard @.***> wrote:

 Whew that's some good sleuthing. Thank you.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.