pybpodapi
¶
-
class
pybpod_rotaryencoder_module.module.
RotaryEncoder
(connected=False, module_name='', firmware_version=0, events_names=[], n_serial_events=0, serial_port=None)[source]¶ Bases:
pybpodapi.bpod_modules.bpod_module.BpodModule
Note
This API was based on the Rotary Encoder board documentation.
Usage example¶
#...
bpod = Bpod()
# get the module connected to the first bpod serial port.
rotary_encoder = bpod.modules[0]
# call a function of the module
rotary_encoder.activate_outputstream()
bpod.stop()