Save current changes before reorganizing drivers and cleaning workspace
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ class BoardLED:
|
||||
def __init__(self, pin_num=None):
|
||||
import sys
|
||||
if pin_num is None:
|
||||
pin_num = 14 if sys.platform == 'rp2' else 38
|
||||
pin_num = 14 if sys.platform == 'rp2' else 42
|
||||
self.np = neopixel.NeoPixel(Pin(pin_num), 1)
|
||||
self.base_color = (0, 0, 0)
|
||||
self.off()
|
||||
|
||||
Reference in New Issue
Block a user