Configures a specific digital bit for input or output. This function treats all DIO ports on a board as a single port (DigitalPortType.AUXPORT); it is not supported by 8255 type DIO ports.
d_config_bit(board_num, port_type, bit_num, direction)
board_num (int)
The number associated with the board when it was installed with InstaCal or created with create_daq_device().
port_type (DigitalPortType)
The port (DigitalPortType.AUXPORT) whose bits are to be configured. The port specified must be bitwise configurable.
bit_num (int)
Specifies the bit number within the single large port.
direction (DigitalIODirection)
DigitalIODirection.OUT or DigitalIODirection.IN configures the specified bit for output or input, respectively.