Welcome to pin:out

The comprehensive GPIO pinout website for the BBC micro:bit


P2: Analog In 2

The BBC micro:bit has 3 designated analog pins (although there are actually 6) connected to the three large numbered pads.

The analog-to-digital converter is 10bit, producing values from 0 to 1023.

Each analog pin has a weak (10M) pull-up to support touch sensing.

Part of pinout.xyz. Not affiliated with the Micro:bit Educational Foundation.
Created by Phil Howard & Joshua Lowe.