Trigger EEG OpenBCI OpenSesame
I am clinical and like most clinicians, I do not code, and I have difficulty putting triggers. I'm going to use OpenBCI as an eeg headset in a fairly simple experiment (see doc).
I want to put a trigger at the start and end of the experiment and one for each appearance of stimuli.
I'm following the procedure in tutorial but here is the error message:
Traceback: File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\libopensesame\inline_script.py", line 116, in run self.workspace._exec(self.crun) File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\libopensesame\base_python_workspace.py", line 124, in _exec exec(bytecode, self._globals) Inline script, line 4, in <module> NameError: name 'io' is not defined
Can you help me? Thank you very much in advance.