fix typo
This commit is contained in:
parent
26aee5c790
commit
a54d6d4b98
1 changed files with 1 additions and 1 deletions
2
leds.py
2
leds.py
|
@ -251,7 +251,7 @@ class LightStrip:
|
||||||
# Emulate the old behavior of using RPi.GPIO if we haven't been given
|
# Emulate the old behavior of using RPi.GPIO if we haven't been given
|
||||||
# an explicit GPIO interface to use
|
# an explicit GPIO interface to use
|
||||||
if not GPIO:
|
if not GPIO:
|
||||||
import RPI.GPIO as GPIO
|
import RPi.GPIO as GPIO
|
||||||
self.GPIO = GPIO
|
self.GPIO = GPIO
|
||||||
self.GPIO.setmode(GPIO.BCM)
|
self.GPIO.setmode(GPIO.BCM)
|
||||||
self.data_pin = data_pin
|
self.data_pin = data_pin
|
||||||
|
|
Loading…
Reference in a new issue