bpod_core.bpod.Output

class bpod_core.bpod.Output

Output channel class representing a digital output channel.

__init__(*args, **kwargs)

Output channel class representing a digital output channel.

Parameters:
  • *args – Arguments to be passed to the base class constructor.

  • **kwargs – Arguments to be passed to the base class constructor.

override(state)

Override the state of the output channel.

Parameters:

state (bool or int) – The state to set for the output channel. For binary I/O types, provide a bool. For pulse width modulation (PWM) I/O types, provide an int (0-255).

Return type:

None