VBUS Monitor example script (arduino.py) Prints the USB-C supply voltage (VBUS) and the RP2040's temperature once a second. VBUS is about 5 V from a computer; a USB-PD charger can raise it (see USB-PD Power). VBUS is also on the header's VIN pin.
Arduino has no match for these, so this uses the phyduino.py functions.