Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/function_examples/add_trial_events2.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
state_name='FlashStimulus',
state_timer=0.1,
state_change_conditions={Bpod.Events.Tup: 'WaitForResponse'},
output_actions=[(stimulus, 255, Bpod.OutputChannels.GlobalTimerTrig, 1)])
output_actions=[(stimulus, 255), (Bpod.OutputChannels.GlobalTimerTrig, 1)])

sma.add_state(
state_name='WaitForResponse',
Expand Down
4 changes: 2 additions & 2 deletions examples/function_examples/manual_override.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

from pybpodapi.protocol import Bpod

import examples.settings as settings
import examples.user_settings as settings



Expand Down Expand Up @@ -124,4 +124,4 @@
my_bpod.manual_override(Bpod.ChannelTypes.OUTPUT, Bpod.ChannelNames.SERIAL, channel_number=1, value=66)

# Stop Bpod
my_bpod.close() # Sends a termination byte and closes the serial port. PulsePal stores current params to its EEPROM.
my_bpod.close() # Sends a termination byte and closes the serial port. PulsePal stores current params to its EEPROM.