We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a67b154 commit a074cb9Copy full SHA for a074cb9
simple-program.py
@@ -42,12 +42,12 @@ def sighandler(signum, frame):
42
lcd_comm = None
43
if REVISION == "A":
44
logger.info("Selected Hardware Revision A (Turing Smart Screen)")
45
- lcd_comm = LcdCommRevA(com_port="AUTO",
+ lcd_comm = LcdCommRevA(com_port=COM_PORT,
46
display_width=320,
47
display_height=480)
48
elif REVISION == "B":
49
print("Selected Hardware Revision B (XuanFang screen version B / flagship)")
50
- lcd_comm = LcdCommRevB(com_port="AUTO",
+ lcd_comm = LcdCommRevB(com_port=COM_PORT,
51
52
53
elif REVISION == "SIMU":
0 commit comments