Datasheet
Micro:Bit pin usage
Micro:Bit Pin Used by Function xBus Name
P3 Micro:Bit LED Col 1
P0 IM01 Serial RXD
P4 Micro:Bit LED Col 2
P5 Micro:Bit Button A
P6 Micro:Bit LED Col 9
P7 Micro:Bit LED Col 8
P1 IM01 Serial TXD
P8 IM01 Green LED
P9 Micro:Bit LED Col 7
P10 Micro:Bit LED Col 3
P11 Micro:Bit BUTTON B
P12 Micro:Bit Reserved
P2 IM01 Blue LED
P13 IM01 SD Card - SCK
P14 IM01 SD Card - MISO
P15 IM01 SD Card - MOSI
P16 IM01 SD Card - CS
P19 Micro:Bit & IM01 I2C SCL
P20 Micro:Bit & IM01 I2C SDA
If you want to connect non-XinaBox sensors, switches, etc.
then please watch this video Connecting non-XinaBox
sensors to micro:bit using IM01 and IX01 (https://youtu.be/
EoTGlNegcRc).
Notes
If you connect non-XinaBox sensors as per the video above to the RXD and TXD pins, then you cannot use the CW01 WiFi solution at the
same time, since using those pins will conflict with the usage of the CW01.
If you connect non-XinaBox sensors to the SDA and SCL pins, then you cannot use any other xChip, nor can you use the onboard
Micro:Bit Accelerometer and Magnetometer, since using those pins will conflict with the use of I2C.
External Links
Libraries
MakeCode Extensions (https://github.com/xinabox?q=pxt-)
Python Libraries (https://github.com/xinabox?q=python-)
Arduino Libraries (https://github.com/xinabox?q=arduino-)


