Skip to content

Commit 3609d7d

Browse files
Update adafruit_crickit.py
1 parent fc5f900 commit 3609d7d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

adafruit_crickit.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,7 @@ def __init__(self, seesaw):
165165
# Used to find existing devices.
166166
self._devices = dict()
167167
self._neopixel = None
168-
# Set initial on-board NeoPixel status and brightness
169168
self._onboard_pixel = None
170-
self.brightness = 1.0
171169

172170
@property
173171
def seesaw(self):
@@ -381,7 +379,7 @@ def onboard_pixel(self):
381379
if not self._onboard_pixel:
382380
from adafruit_seesaw.neopixel import NeoPixel
383381
self._onboard_pixel = NeoPixel(self._seesaw, _SS_PIXEL, 1, bpp=3,
384-
brightness=self.brightness, auto_write=True,
382+
brightness=1.0, auto_write=True,
385383
pixel_order=None)
386384
self._onboard_pixel.fill((0, 0, 0))
387385
return self._onboard_pixel

0 commit comments

Comments
 (0)