This commit is contained in:
janeptrv 2020-11-06 20:34:07 -05:00
parent 26aee5c790
commit a54d6d4b98
1 changed files with 1 additions and 1 deletions

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