Pylint fix
Pylint fix
This commit is contained in:
parent
953069ffe6
commit
6bc9796cae
3 changed files with 12 additions and 6 deletions
|
|
@ -11,8 +11,10 @@ from adafruit_led_animation.group import AnimationGroup
|
||||||
from adafruit_led_animation.sequence import AnimationSequence
|
from adafruit_led_animation.sequence import AnimationSequence
|
||||||
from adafruit_led_animation import color
|
from adafruit_led_animation import color
|
||||||
|
|
||||||
ghost_pixels = neopixel.NeoPixel(board.SDA, 90, brightness=0.5, auto_write=False, pixel_order=neopixel.RGB)
|
ghost_pixels = neopixel.NeoPixel(board.SDA, 90, brightness=0.5,
|
||||||
glasses_pixels = neopixel.NeoPixel(board.SCL, 33, brightness=0.5, auto_write=False, pixel_order=neopixel.RGB)
|
auto_write=False, pixel_order=neopixel.RGB)
|
||||||
|
glasses_pixels = neopixel.NeoPixel(board.SCL, 33, brightness=0.5,
|
||||||
|
auto_write=False, pixel_order=neopixel.RGB)
|
||||||
|
|
||||||
animations = AnimationSequence(
|
animations = AnimationSequence(
|
||||||
# Synchronized animations
|
# Synchronized animations
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,10 @@ from adafruit_led_animation.group import AnimationGroup
|
||||||
from adafruit_led_animation.sequence import AnimationSequence
|
from adafruit_led_animation.sequence import AnimationSequence
|
||||||
from adafruit_led_animation import color
|
from adafruit_led_animation import color
|
||||||
|
|
||||||
knife_leds = neopixel.NeoPixel(board.SDA, 48, brightness=0.8, auto_write=False, pixel_order=neopixel.RGB)
|
knife_leds = neopixel.NeoPixel(board.SDA, 48, brightness=0.8,
|
||||||
repear_leds = neopixel.NeoPixel(board.SCL, 60, brightness=0.8, auto_write=False, pixel_order=neopixel.RGB)
|
auto_write=False, pixel_order=neopixel.RGB)
|
||||||
|
repear_leds = neopixel.NeoPixel(board.SCL, 60, brightness=0.8,
|
||||||
|
auto_write=False, pixel_order=neopixel.RGB)
|
||||||
|
|
||||||
animations = AnimationSequence(
|
animations = AnimationSequence(
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,10 @@ from adafruit_led_animation.group import AnimationGroup
|
||||||
from adafruit_led_animation.sequence import AnimationSequence
|
from adafruit_led_animation.sequence import AnimationSequence
|
||||||
from adafruit_led_animation import color
|
from adafruit_led_animation import color
|
||||||
|
|
||||||
moon_leds = neopixel.NeoPixel(board.SDA, 60, brightness=0.8, auto_write=False, pixel_order=neopixel.RGB)
|
moon_leds = neopixel.NeoPixel(board.SDA, 60, brightness=0.8,
|
||||||
wolf_leds = neopixel.NeoPixel(board.SCL, 57, brightness=0.8, auto_write=False, pixel_order=neopixel.RGB)
|
auto_write=False, pixel_order=neopixel.RGB)
|
||||||
|
wolf_leds = neopixel.NeoPixel(board.SCL, 57, brightness=0.8,
|
||||||
|
auto_write=False, pixel_order=neopixel.RGB)
|
||||||
|
|
||||||
animations = AnimationSequence(
|
animations = AnimationSequence(
|
||||||
Blink(wolf_leds, speed=0.07, color=color.BLUE),
|
Blink(wolf_leds, speed=0.07, color=color.BLUE),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue