I/O Mapping

Pin numbers to use with functions such as pinMode, digitalWrite, digitalRead, ...

Small note on SPI2 with single SPI MCUs
Due to what seems to be a small quirk in the specification of the PIC32MX, on boards that only feature one SPI bus, the mcu-pins and mappings are named SPI2xxx (not SPI1xxx, as would be expected).