This commit is contained in:
OMGiTzPomPom 2022-09-08 16:33:47 +02:00
parent cdb9dc2121
commit 40a6a58e72
3 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
import serial as s
ser=s.Serial()
ser.baudrate = 9600
ser.port = "COM4"
ser.timeout=10
ser.open()
x=ser.readline()
print(x)
ser.close()