Skip to content

Commit

Permalink
Resolves #18
Browse files Browse the repository at this point in the history
  • Loading branch information
k1o0 committed Nov 22, 2024
1 parent 61aa855 commit 194115f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion iblrig_custom_tasks/_sp_passiveVideo/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,10 @@ def next_trial(self):

def _set_bpod_out(self, val):
"""Set Bpod BNC1 output state."""
BNC_HIGH = 255
BNC_LOW = 0
if isinstance(val, bool):
val = 255 if val else 128
val = BNC_HIGH if val else BNC_LOW
self.bpod.manual_override(Bpod.ChannelTypes.OUTPUT, Bpod.ChannelNames.BNC, channel_number=1, value=val)

def _run(self):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "project_extraction"
version = "0.4.0"
version = "0.4.1"
description = "Custom extractors for satellite tasks"
dynamic = [ "readme" ]
keywords = [ "IBL", "neuro-science" ]
Expand Down

0 comments on commit 194115f

Please sign in to comment.