bpod_core.bpod.Output

class bpod_core.bpod.Output

Bases: Channel

Output channel class representing a digital output channel.

override(state) None

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