You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to psychopy-users
Hi,
I want to write some small function that knows to wait for the fMRI
signal.
the signal is connected using RF connection (which I think is a serial
connection?).
So I want to use the new serial class.
can I write something like this?
import serial
ser = serial.Serial(0, 19200, timeout=0) # open first serial port
while True:
a=ser.read(25)
if a!=0:
break
else:
pass
?