Search found 1 match

by robertg
Tue Aug 13, 2019 9:32 pm
Forum: GTT Series
Topic: Python Command Wrapper
Replies: 2
Views: 24809

Re: Python Command Wrapper

Big thanks!

Had me stumped why my code that worked perfectly in python 2 didn't work in python 3.
IE to clear a matrix orbial screen this worked for a clear screen.
def ClearScreen(self):
clearscreen = [chr(254), chr(88)]
try:
for i in clearscreen:
self.portdisplay.write(i)
except:
pass ...