1
0

rtx-Logo korrigiert

This commit is contained in:
acn 2016-10-31 15:43:43 +01:00
parent 7bd702d529
commit 1968449c69
4 changed files with 6 additions and 5 deletions

View File

@ -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"

View File

@ -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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 493 B

After

Width:  |  Height:  |  Size: 386 B

3
rtx.py
View File

@ -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: