psychopy.org | Reference | Downloads | Github

Arduino Uno Triggers

Hi All, I’m trying to work out the correct code I can send from Psychopy to an Arduino uno board via the serial interface.

I have connectivity and can send the import time command with:

import serial
import time
port = serial.Serial(“COM4”, 9600)
time.sleep(1)

But i want to send a trigger to start and start the Arduino uno board.

Any help would be greatly appreciated.

Thanks