Skip to content

Commit a7bf525

Browse files
authored
Merge pull request #1790 from adafruit/bundlefly-8
PR 8 - Renamed 63 more files
2 parents 7046993 + fe3a245 commit a7bf525

63 files changed

Lines changed: 12 additions & 13 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File renamed without changes.

CircuitPython_Made_Easy_On_CPX/cpx_acceleration_neopixels.py renamed to CircuitPython_Made_Easy_On_CPX/cpx_acceleration_neopixels/code.py

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,15 @@
77
print("Slide switch off!")
88
cpx.pixels.fill((0, 0, 0))
99
continue
10-
else:
11-
R = 0
12-
G = 0
13-
B = 0
14-
x, y, z = cpx.acceleration
15-
print((x, y, z))
16-
if x:
17-
R = R + abs(int(x))
18-
if y:
19-
G = G + abs(int(y))
20-
if z:
21-
B = B + abs(int(z))
22-
cpx.pixels.fill((R, G, B))
10+
R = 0
11+
G = 0
12+
B = 0
13+
x, y, z = cpx.acceleration
14+
print((x, y, z))
15+
if x:
16+
R = R + abs(int(x))
17+
if y:
18+
G = G + abs(int(y))
19+
if z:
20+
B = B + abs(int(z))
21+
cpx.pixels.fill((R, G, B))
File renamed without changes.
File renamed without changes.

CircuitPython_Made_Easy_On_CPX/cpx_buttons_1_neopixel.py renamed to CircuitPython_Made_Easy_On_CPX/cpx_buttons_1_neopixel/code.py

File renamed without changes.

0 commit comments

Comments
 (0)