File tree Expand file tree Collapse file tree
Circuit_Playground_Bluefruit_NeoPixel_Controller Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828
2929# Setup for comet animation
3030COMET_SPEED = 0.03 # Lower numbers increase the animation speed
31- COMET_INITIAL_COLOR = color .MAGENTA # Color before controller is connected
3231CPB_COMET_TAIL_LENGTH = 5 # The length of the comet on the Circuit Playground Bluefruit
3332STRIP_COMET_TAIL_LENGTH = 15 # The length of the comet on the NeoPixel strip
3433CPB_COMET_BOUNCE = False # Set to True to make the comet "bounce" the opposite direction on CPB
3534STRIP_COMET_BOUNCE = True # Set to False to stop comet from "bouncing" on NeoPixel strip
3635
3736# Setup for sparkle animation
3837SPARKLE_SPEED = 0.03 # Lower numbers increase the animation speed
39- SPARKLE_INITIAL_COLOR = color .PURPLE # Color before controller is connected
4038
4139# Create the NeoPixel strip
4240strip_pixels = neopixel .NeoPixel (board .A1 , STRIP_PIXEL_NUMBER , auto_write = False )
You can’t perform that action at this time.
0 commit comments