This commit is contained in:
janeptrv 2020-11-06 20:34:07 -05:00
parent 26aee5c790
commit a54d6d4b98

View file

@ -251,7 +251,7 @@ class LightStrip:
# Emulate the old behavior of using RPi.GPIO if we haven't been given
# an explicit GPIO interface to use
if not GPIO:
import RPI.GPIO as GPIO
import RPi.GPIO as GPIO
self.GPIO = GPIO
self.GPIO.setmode(GPIO.BCM)
self.data_pin = data_pin