updated from local linting
MODIFY
Disco_Tie/code.py
Disco_Tie/code.py
@@ -25,7 +25,7 @@ uart_server = UARTServer()
# User input vars
mode = 0 # 0=audio, 1=rainbow, 2=larsen_scanner, 3=solid
user_color= (127,0,0)
-speed = 5.0 # for larsen scanner
+speed = 6.0 # for larsen scanner
# Audio meter vars
PEAK_COLOR = (100, 0, 255)
@@ -194,7 +194,6 @@ def change_speed(val):
elif new_speed < 1.0:
new_speed = 1.0
speed = new_speed
- print("set speed " + str(speed))
while True:
# While BLE is *not* connected
@@ -209,7 +208,6 @@ while True:
# Received ColorPacket
if isinstance(packet, ColorPacket):
- print("color received: " + str(packet.color))
user_color = packet.color
# Received ButtonPacket

updated from local linting