File tree Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 21
21
elif "Circuit Playground Bluefruit" in os .uname ().machine :
22
22
from .cpb_gizmo import cpb_gizmo as pybadger
23
23
elif "MagTag with ESP32S2" in os .uname ().machine :
24
- from .mag_tag import mag_tag as pybadger
24
+ from .magtag import mag_tag as pybadger
File renamed without changes.
Original file line number Diff line number Diff line change @@ -52,9 +52,6 @@ def try_refresh():
52
52
53
53
print ("after show, going to loop" )
54
54
55
- neopixel_pwr = digitalio .DigitalInOut (board .NEOPIXEL_POWER )
56
- neopixel_pwr .direction = digitalio .Direction .OUTPUT
57
- neopixel_pwr .value = False
58
55
pybadger .pixels .fill (0x000022 )
59
56
60
57
while True :
@@ -65,7 +62,6 @@ def try_refresh():
65
62
66
63
if prev_a and not cur_a :
67
64
pybadger .pixels .fill (0x000000 )
68
- neopixel_pwr .value = True
69
65
if SHOWING != "badge" :
70
66
print ("changing to badge" )
71
67
SHOWING = "badge"
@@ -76,7 +72,6 @@ def try_refresh():
76
72
77
73
if prev_b and not cur_b :
78
74
pybadger .pixels .fill (0x000000 )
79
- neopixel_pwr .value = True
80
75
if SHOWING != "qr" :
81
76
print ("changing to qr" )
82
77
SHOWING = "qr"
@@ -85,7 +80,6 @@ def try_refresh():
85
80
86
81
if prev_c and not cur_c :
87
82
pybadger .pixels .fill (0x000000 )
88
- neopixel_pwr .value = True
89
83
if SHOWING != "card" :
90
84
print ("changing to card" )
91
85
SHOWING = "card"
You can’t perform that action at this time.
0 commit comments