1
0
This commit is contained in:
Anna Christina Naß 2018-06-01 15:39:39 +02:00
commit c471a1b1f0

3
rtx.py
View File

@ -79,9 +79,6 @@ else:
logging.error("wrong mode: %s - this should not happen", glob.mode) logging.error("wrong mode: %s - this should not happen", glob.mode)
sys.exit() sys.exit()
#glob.ser = serial.Serial(config.PORT, config.BAUDRATE, timeout=None, rtscts=True, dsrdtr=True)
glob.ser = serial.Serial(config.PORT, config.BAUDRATE, timeout=None, bytesize=8, parity='N', stopbits=2, rtscts=False, dsrdtr=False)
logging.debug("Serial port %s opened", glob.ser.name) logging.debug("Serial port %s opened", glob.ser.name)
while True: while True: