diff --git a/cept.py b/cept.py index e0c1a2b..5bc8806 100644 --- a/cept.py +++ b/cept.py @@ -68,9 +68,9 @@ btxlogo = ( "\x1f\x3d1# 200961a\x1f\x2f" # Link zur Demo-Startseite 200961a "\x1f\x43\x48\xb8\xa3\x12\x57\xe4" "\x1f\x44\x47\xea\xa0\x12\x59\xb5" - "\x1f\x45\x47\xea \xe8\xfc\xdf\x12\x49\xfc\xb4 \xb5" - "\x1f\x46\x47\xea \xe8\xdf\x12\x44\xa3\x12\x45\xdf\x12\x44\xb4 \xb5" - "\x1f\x47\x47\xea \xaa\xdf\xdf\xdf\xaf\xa1 \xfc\xdf\xdf\xfc \xa2\xaf\xdf\xdf\xdf\xa5 \xb5" + "\x1f\x45\x47\xea \xe0\xf8\xfc\xdf\x12\x49\xfc\xf4\xb0 \xb5" + "\x1f\x46\x47\xea \xe8\xdf\x12\x43\xbf\xa3\x12\x45\xef\xdf\x12\x43\xb4 \xb5" + "\x1f\x47\x47\xea \xaa\xdf\xdf\xdf\xaf\xa1\xe0\xfc\xdf\xdf\xfc\xb0\xa2\xaf\xdf\xdf\xdf\xa5 \xb5" "\x1f\x48\x47\xea \xa2\xe3\xf8\xfe\xdf\xea\xdf\x12\x43\xb5\xdf\xfd\xf4\xb3\xa1 \xb5" "\x1f\x49\x47\xea \xdf\x12\x43\xea\xdf\x12\x43\xb5\xdf\x12\x43 \xb5" "\x1f\x4a\x47\xea \xdf\x12\x43\xfd\xf3\xaf\xaf\xf3\xfe\xdf\x12\x43 \xb5" diff --git a/config.py b/config.py index b56ff9e..63995a1 100644 --- a/config.py +++ b/config.py @@ -15,7 +15,7 @@ DEMOPAGES="demopages/" LOGLEVEL=logging.DEBUG ## serial port settings: -PORT="/dev/pts/10" +PORT="/dev/pts/5" #PORT="/dev/ttyUSB0" BAUDRATE="2400" # if the system is connected directly (null-modem): MODE=direct diff --git a/doc/rtx-Logo.png b/doc/rtx-Logo.png index db0a542..3baa127 100644 Binary files a/doc/rtx-Logo.png and b/doc/rtx-Logo.png differ diff --git a/rtx.py b/rtx.py index a7fcb10..cc7f22d 100755 --- a/rtx.py +++ b/rtx.py @@ -23,7 +23,8 @@ import logging logging.basicConfig(format='%(asctime)s %(levelname)s: %(message)s', level=config.LOGLEVEL, datefmt='%Y-%m-%d %I:%M:%S') # initialize serial connection to client -glob.ser = serial.Serial(config.PORT, config.BAUDRATE, timeout=None) +logging.debug("Serial port %s, Baud rate %s", config.PORT, config.BAUDRATE) +glob.ser = serial.Serial(config.PORT, config.BAUDRATE, timeout=None, rtscts=True, dsrdtr=True) logging.info("Serial port %s opened", glob.ser.name) while True: