XIAO Sense BLE pinouts

I’m just getting started with a XIAO Sense BLE board (just amazing!) but I’m trying to understand if the schematic provided is correct or the arduino header file is… There seem to be some differences between the port numbers in the two.
e.g. the schematic has pins 9 and 10 listed for NFC, but the variant.h header file has 30 and 31 instead.
I wanted to read the battery level and the schematic shows this being on pin 31 with the header file showing it as on 32 (P1.01) hence my confusion.

ah, figured it out! hadn’t grasped the difference between ids in the schematic and pin mapping table in variant.cpp. :+1: