Commit 12d94d8c authored by behrajor's avatar behrajor

ajout de test_serial pour avoir une connection directe

parent b5cbbc7e
# -*-coding:Utf-8 -*
import serial
ser = serial.Serial()
ser.baudrate = 9600
ser.port = '/dev/ttyACM0'
print("port créé : {}.".format(ser))
cmd = str()
while cmd != "Q":
#cmd = ser.readline()
cmd = input("Serial command : ")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment