DriveMode – defines the drive mode of a digital pin

class digitalio.DriveMode

Enum-like class to define the drive mode used when outputting digital values.

PUSH_PULL

Output both high and low digital values

OPEN_DRAIN

Output low digital values but go into high z for digital high. This is useful for i2c and other protocols that share a digital line.