mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Add Compass example and dont strip spaces on messages
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user