Hi M,
Hmm ok I see, is there a reason you are sending commands to the arduino via terminal? Previously I have sent commands to an arduino from psychopy itself. I am afraid I don’t have the scripts to hand but I can see some previous discussions here that could be helpful Question: connecting arduino with psychopy
Becca