Add Compass example and dont strip spaces on messages

This commit is contained in:
Nick O'Leary
2016-03-04 23:15:59 +00:00
parent 9301ab6c97
commit 53c9c834b9
2 changed files with 2 additions and 1 deletions

View File

@@ -157,7 +157,7 @@ def process_command(data):
for p in range(0,len(s),5):
SH.set_pixel(int(s[p]),int(s[p+1]),int(s[p+2]),int(s[p+3]),int(s[p+4]))
elif data[0] == "T":
data = data[1:].strip()
data = data[1:]
tcol = (255,255,255)
bcol = (0,0,0)
speed = 0.1