Pin — Pin reference

Identifies an IO pin on the microcontroller.

class microcontroller.Pin

Identifies an IO pin on the microcontroller. They are fixed by the hardware so they cannot be constructed on demand. Instead, use board or microcontroller.pin to reference the desired pin.