channels
— Bpod channel configuration¶
Overview¶
The purpose of these classes is to abstract low level numbers and IDs for identifying channel names and types.
Implementation¶
-
class
pybpodapi.bpod.hardware.channels.
ChannelType
[source]¶ Define if channel type is input or output. These values must be set according to Bpod firmware specification.
-
INPUT
= 1¶ Input channel
-
OUTPUT
= 2¶ Output channel
-
-
class
pybpodapi.bpod.hardware.channels.
ChannelName
[source]¶ Available channel names. These values must be set according to Bpod firmware specification.
-
PWM
= 'PWM'¶ Analog channel with PWM support (e.g. Led)
-
VALVE
= 'Valve'¶ Analog channel for connecting a valve
-
BNC
= 'BNC'¶ BNC channel
-
WIRE
= 'Wire'¶ Wire channel
-
SERIAL
= 'Serial'¶ Serial channel
-