mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
let python sub processes use python3
This commit is contained in:
@@ -107,8 +107,8 @@ def lcd_byte(bits, mode):
|
||||
if len(sys.argv) > 1:
|
||||
pins = sys.argv[1].lower().split(',')
|
||||
if len(pins) != 6:
|
||||
print "Bad number of pins supplied"
|
||||
print " "+pins
|
||||
print("Bad number of pins supplied")
|
||||
print(" "+pins)
|
||||
sys.exit(0)
|
||||
|
||||
LCD_RS = int(pins[0])
|
||||
@@ -181,6 +181,6 @@ if len(sys.argv) > 1:
|
||||
sys.exit(0)
|
||||
|
||||
else:
|
||||
print "Bad params"
|
||||
print " sudo nrlcd.py RS,E,D4,D5,D6,D7"
|
||||
print("Bad params")
|
||||
print(" sudo nrlcd.py RS,E,D4,D5,D6,D7")
|
||||
sys.exit(0)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-pilcd",
|
||||
"version" : "0.0.9",
|
||||
"version" : "0.0.10",
|
||||
"description" : "A Node-RED node for Raspberry Pi to write to HD44780 style LCD panels.",
|
||||
"dependencies" : {
|
||||
},
|
||||
|
Reference in New Issue
Block a user