-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PINS_BREAKOUT_GARDEN in Pico Explorer micropython examples are confusing #351
Comments
That is... somewhat confusing. I had planned to move these into a library somewhere since these lines are copied all over the place 😬 I guess this is another vote to hurry up and do that. |
I believe Also we use those pins for I2C on other products too. |
That may be the case, but this directory is specifically for the Pico Explorer Base and this additional line is confusing. Confused me for sure. |
Oh, sorry, my mistake. Yes, those should be removed and reference the defines in this file instead: https://github.com/pimoroni/pimoroni-pico/blob/main/micropython/modules_py/pimoroni.py |
I've been just doing this in my own files. |
Closing as I think this should now be sorted! |
Some of the examples in https://github.com/pimoroni/pimoroni-pico/tree/main/micropython/examples/pico_explorer include the line ...
However the breakout garden connectors on the Pico Explorer base use
{"sda": 20, "scl": 21}
. I had thought they were on a separate I2C bus, but this is not the case.Please could the
PINS_BREAKOUT_GARDEN
lines be removed from the examples. This was quite a head scratcher for me to figure out. In fact it's all one I2C bus.Thanks.
The text was updated successfully, but these errors were encountered: