mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
committed by
Dave Conway-Jones
parent
335c46ac06
commit
8fe2478a0b
@@ -11,7 +11,13 @@
|
||||
import RPi.GPIO as GPIO
|
||||
import time
|
||||
import sys
|
||||
import os, select
|
||||
import os
|
||||
import select
|
||||
|
||||
try:
|
||||
raw_input # Python 2
|
||||
except NameError:
|
||||
raw_input = input # Python 3
|
||||
|
||||
# Turn off warnings if you run it a second time...
|
||||
GPIO.setwarnings(False)
|
||||
|
Reference in New Issue
Block a user