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
@@ -9,6 +9,11 @@ except ImportError:
|
||||
from neopixel import Adafruit_NeoPixel as PixelStrip, Color
|
||||
__version__ = "legacy"
|
||||
|
||||
try:
|
||||
raw_input # Python 2
|
||||
except NameError:
|
||||
raw_input = input # Python 3
|
||||
|
||||
# LED strip configuration:
|
||||
LED_COUNT = 8 # Number of LED pixels.
|
||||
LED_PIN = 18 # GPIO pin connected to the pixels (must support PWM!).
|
||||
|
Reference in New Issue
Block a user