pimoroni / picosystem

PicoSystem libraries and examples.
MIT License
145 stars 33 forks source link

Fix GPIO init #97

Closed Daft-Freak closed 4 months ago

Daft-Freak commented 1 year ago

Want to be initialising pin 16, not pin 65536. Not sure how this is working on hardware, but it's certainly not in DERP...

(Especially since the default is to pull down :thinking:. Now I need to fix or work around this on my side...)

Daft-Freak commented 1 year ago

Not sure how this is working on hardware

Oh right, there are pull-ups on the board (missed that due to them not being on the same page of the sch as the buttons)... and you can read the inputs without setting the SIO func (or in this case, any function)

Gadgetoid commented 4 months ago

Ooof, thank you. I haven't been giving PicoSystem much tlc because it - mostly - works and there's soo much else to do.

Looking into migrating to MicroPython v1.23.0 now... 😬 so hopefully I'll be able to sweep up some PRs.

Gadgetoid commented 4 months ago

Chucked this onto https://github.com/pimoroni/picosystem/pull/104