microbit-pxt-i2cpins

i2c2

pins=github:bsiever/microbit-pxt-i2cpins

This extension allows non-default pins to be used for the micro:bit’s I2C

Micro:bit v1 only has one I2C port. Changing the pins will prevent the accelerometer/compass from working!!!

Setting the pins

pins.setI2CPins(sda : DigitalPin,  scl : DigitalPin) : void

Set the Data and Clock pins.

Acknowledgements

Development of this extension was sponsored by MakeKit.

Icon based on Font Awesome icon 0xF074 SVG.