Closed please-insert-username-here closed 2 years ago
And... yet... https://github.com/pimoroni/unicornhatmini-python/blob/master/examples/buttons.py
In many cases we moved away from the i2s pin so we wouldn't break support for audio boards, but I don't recall if this was one of the boards we did that with. Might have to dig up the schematic. Right now the buttons example and library disagreeing is... odd.
This does - in fact - match the schematic. The library is wrong :grimacing: - or perhaps outdated since some boards got a respin to change the Y button.
Pesky hardware not matching up with what the software is telling it to do... :rofl:
Hmmm? The GPIO numbers shown on https://pinout.xyz/pinout/unicorn_hat_mini (5, 6, 16, 20) seem to match up with what https://github.com/pimoroni/unicornhatmini-python/blob/master/library/unicornhatmini/__init__.py says? :man_shrugging: