mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
parent
fcdcbe4118
commit
b858df4770
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-pi-sense-hat",
|
||||
"version" : "0.0.14",
|
||||
"version" : "0.0.15",
|
||||
"description" : "A Node-RED node to interact with a Raspberry Pi Sense HAT",
|
||||
"repository" : {
|
||||
"type":"git",
|
||||
|
@ -151,7 +151,7 @@ def process_command(data):
|
||||
speed = 0.1
|
||||
s = data.split(':',1)
|
||||
if len(s) == 2:
|
||||
data = s[1]
|
||||
data = s[1][0:-1]
|
||||
if len(s[0]) > 0:
|
||||
c = s[0].split(",")
|
||||
if len(c) == 1:
|
||||
|
Loading…
Reference in New Issue
Block a user