The A0 / D12 ring drives the PAM8301 audio input. D11 / PA30 enables the amplifier and also appears as SWCLK on the rear programming pad.
Buttons and slide switch
Button A uses D4 / PA28 and button B uses D5 / PA14. They read high when pressed. The slide switch uses D7 / PA15.
Light, temperature and motion
The light sensor uses A8 / PA11 and the thermistor uses A9 / PA09. The LIS3DH uses internal SDA / PA00 and SCL / PA01 with interrupt PA13. The external SDA and SCL rings are on PB02 and PB03.
Microphone and infrared
The PDM microphone uses PA10 for clock and PA08 for data. Infrared transmit, receive and analog proximity use PA23, PA12 and PA04 respectively.
LEDs and storage
Ten NeoPixels share D8 / PB23. The red user LED uses D13 / PA17. The external SPI flash uses its own bus on the board.
USB and JST
Micro-USB carries VBUS, D− on PA24, D+ on PA25 and GND. The JST battery connector has positive on the left and negative on the right when viewed from the front with USB at the top.
Reverse programming pads
With the reverse lettering upright, the three exposed test points are RESET, SWDIO and SWCLK from left to right. Use the companion debug view for their locations.