Fix base pattern class name
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import utime
|
||||
from patterns_base import Patterns as PatternsBase
|
||||
from patterns_base import atternsBase
|
||||
|
||||
class Patterns(PatternsBase):
|
||||
def __init__(self, pin, num_leds, color1=(0,0,0), color2=(0,0,0), brightness=127, selected="off", delay=100):
|
||||
|
||||
@@ -24,7 +24,7 @@ param_mapping = {
|
||||
"auto": "auto",
|
||||
}
|
||||
|
||||
class Patterns:
|
||||
class Patterns_Base:
|
||||
def __init__(self, pin, num_leds, color1=(0,0,0), color2=(0,0,0), brightness=127, selected="off", delay=100):
|
||||
self.n = NeoPixel(Pin(pin, Pin.OUT), num_leds)
|
||||
self.num_leds = num_leds
|
||||
|
||||
Reference in New Issue
Block a user