Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python serial COM3

>>> ser = serial.Serial('COM3', 38400, timeout=0,
...                     parity=serial.PARITY_EVEN, rtscts=1)
>>> s = ser.read(100)       # read up to one hundred bytes
...                         # or as much is in the buffer
Source by pythonhosted.org #
 
PREVIOUS NEXT
Tagged: #python #serial
ADD COMMENT
Topic
Name
9+5 =