SenseHAT: accept number payload as text message

This commit is contained in:
Nick O'Leary
2016-03-04 17:26:21 +00:00
parent a2915b9a97
commit a3e2365ab9
3 changed files with 34 additions and 26 deletions

View File

@@ -89,9 +89,11 @@ class ScrollThread(threading.Thread):
try:
SH.show_message(self.message,text_colour=self.fcol,back_colour=self.bcol,scroll_speed=self.speed)
except:
SH.set_rotation(old_rotation,False)
SH.clear(self.bcol);
pass
try:
SH.set_rotation(old_rotation,False)
SH.clear(self.bcol);
except:
pass
def interrupt(self):
if not self.isAlive():