File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -166,9 +166,8 @@ def __init__(self) -> None:
166
166
self .accel .range = adafruit_lis3dh .RANGE_2_G
167
167
168
168
# built in neopixels
169
- # MEME FIX: https://github.com/adafruit/circuitpython/issues/8488
170
- #neopix = neopixel.NeoPixel(board.NEOPIXEL, 1, brightness=0.1)
171
- #neopix.fill(0)
169
+ neopix = neopixel .NeoPixel (board .NEOPIXEL , 1 , brightness = 0.1 )
170
+ neopix .fill (0 )
172
171
173
172
# camera!
174
173
self ._cam_reset = self ._aw .get_pin (_AW_CAMRST )
@@ -409,7 +408,7 @@ def unmount_sd_card(self):
409
408
def keys_debounce (self ):
410
409
# shutter button is true GPIO so we debounce as normal
411
410
self .shutter .update ()
412
- self .card_detect .update (self .carddet_pin )
411
+ self .card_detect .update (self .carddet_pin . value )
413
412
self .up .update (self .up_pin .value )
414
413
self .down .update (self .down_pin .value )
415
414
self .left .update (self .left_pin .value )
You can’t perform that action at this time.
0 commit comments