Hi everyone. I have a problem so in my task i have 3 triggers, but i got this triggers yesterday
So that extra “224” shouldn’t be there, what can I do? also, i have another task with 10 triggers, and sometimes the numbers are changed so 1 is 194, 9 is 224 etc.
this is my script
import serial port = serial.Serial("COM5", baudrate = 115200)
port.write(trigger) if trigger ==1: port.write(1) elif trigger ==2: port.write(2) elif trigger ==3: port.write(3) port.write(str.encode(chr(trigger)))
end of experiment