diff --git a/iblrig_custom_tasks/_sp_passiveVideo/task.py b/iblrig_custom_tasks/_sp_passiveVideo/task.py index 409f05b..8e32bb6 100644 --- a/iblrig_custom_tasks/_sp_passiveVideo/task.py +++ b/iblrig_custom_tasks/_sp_passiveVideo/task.py @@ -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): diff --git a/pyproject.toml b/pyproject.toml index 7ed8c04..e1e2320 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" ]