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 83
83
if isinstance (packet , ColorPacket ): # If the packet is color packet...
84
84
if mode == 0 : # And mode is 0...
85
85
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)
87
88
animation_color = packet .color # Keep track of the current color...
88
89
elif mode == 1 : # Because if mode is 1...
89
90
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)
91
93
elif isinstance (packet , ButtonPacket ): # If the packet is a button packet...
92
94
# Check to see if it's BUTTON_1 (which is being sent by the slide switch)
93
95
if packet .button == ButtonPacket .BUTTON_1 :
You can’t perform that action at this time.
0 commit comments