Direction – defines the direction of a digital pin

class digitalio.DigitalInOut.Direction

Enum-like class to define which direction the digital values are going.

INPUT

Read digital data in

OUTPUT

Write digital data out