File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Circuit_Playground_Bluefruit_NeoPixel_Controller Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 8383 if isinstance (packet , ColorPacket ): # If the packet is color packet...
8484 if mode == 0 : # And mode is 0...
8585 animations .color = packet .color # Update the animation to the color.
86- print ("Color:" , packet .color )
86+ # Uncomment below to see the color tuple printed to the serial console.
87+ # print("Color:", packet.color)
8788 animation_color = packet .color # Keep track of the current color...
8889 elif mode == 1 : # Because if mode is 1...
8990 animations .color = animation_color # Freeze the animation color.
90- print ("Color:" , animation_color )
91+ # Uncomment below to see the color tuple printed to the serial console.
92+ # print("Color:", animation_color)
9193 elif isinstance (packet , ButtonPacket ): # If the packet is a button packet...
9294 # Check to see if it's BUTTON_1 (which is being sent by the slide switch)
9395 if packet .button == ButtonPacket .BUTTON_1 :
You can’t perform that action at this time.
0 commit comments