OpenSesame inline script python code for sending triggers through serial port to EEG device
I am collecting EEG while people answering to several multiple choice questions(created in OpenSesame. Two software will be run in two separate computers(Laptop and PC).I need to send triggers from Opensesame(run in laptop) to EEG software(run in PC) through serial ports as soon as a participant answers a question. does anyone know the inline scripts codes needed for the serial ports to communicate (i know my ports address) and also for sending triggers please?
I appreciate your help in advance