Skip to content

Commit 57c4b8b

Browse files
Fixing some pylint grumbles
1 parent 289b7d9 commit 57c4b8b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

examples/cpx_helper_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33

44
from adafruit_circuitplayground.express import cpx
5-
import adafruit_fancyled as fancy
65
import fastled_helpers as helper
76

87
cpx.pixels.auto_write = False # Refresh pixels only when we say

examples/cpx_rotate.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
# Declare a 4-element color palette, this one happens to be a
1111
# 'blackbody' palette -- good for heat maps and firey effects.
1212
palette = [fancy.CRGB(1.0, 1.0, 1.0), # White
13-
fancy.CRGB(1.0, 1.0, 0), # Yellow
14-
fancy.CRGB(1.0, 0, 0), # Red
15-
fancy.CRGB(0,0,0)] # Black
13+
fancy.CRGB(1.0, 1.0, 0.0), # Yellow
14+
fancy.CRGB(1.0, 0.0, 0.0), # Red
15+
fancy.CRGB(0.0, 0.0, 0.0)] # Black
1616

1717
offset = 0 # Positional offset into color palette to get it to 'spin'
1818
levels = (0.25, 0.3, 0.15) # Color balance / brightness for gamma function

0 commit comments

Comments
 (0)