bbcmicrobit / bbcmicrobit/micropython

Use of Pins 19 and 20

Open
#624 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
646
Forks
290
PR merge metrics
No merged PRs in 30d

Description

In PXT/makecode the I2C pins are also usable as digital pins. This is not the case in micropython.
Clearly using them as not I2C means that the onboard I2C devices (accel and compass) will not work, but in many cases this is not a problem.
There is an init function for the I2C. If this is not called (or implicitly called?) then it would be nice to be able to use the extra pins as digital IO.
Tagging @carlosperate following a discussion on the microbit slack channel

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.