mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
fix Sensehat for correct python call
This commit is contained in:
parent
90641d8300
commit
14f68063c5
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-pi-sense-hat",
|
||||
"version" : "0.1.5",
|
||||
"version" : "0.2.0",
|
||||
"description" : "A Node-RED node to interact with a Raspberry Pi Sense HAT",
|
||||
"repository" : {
|
||||
"type":"git",
|
||||
|
@ -127,7 +127,7 @@ def process_command(data):
|
||||
else:
|
||||
SH.low_light = False
|
||||
else:
|
||||
if threading.activeCount() == 2:
|
||||
if threading.active_count() == 2:
|
||||
scroll.interrupt()
|
||||
while scroll.isAlive():
|
||||
time.sleep(0.01)
|
||||
|
Loading…
x
Reference in New Issue
Block a user