Skip to content

Commit 06deafd

Browse files
committed
Prop maker light up prop update
Prop maker light up prop update
1 parent 4d00b5f commit 06deafd

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

PropMaker_Light_Up_Prop/code.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
"""
2+
Prop-Maker based Light Up Prop.
3+
Adafruit invests time and resources providing this open source code.
4+
Please support Adafruit and open source hardware by purchasing
5+
products from Adafruit!
6+
Written by Kattni Rembor for Adafruit Industries
7+
Copyright (c) 2019 Adafruit Industries
8+
Licensed under the MIT license.
9+
All text above must be included in any redistribution.
10+
"""
111
import time
212
import random
313
import digitalio
@@ -125,4 +135,4 @@ def play_wav(name, loop=False):
125135
led.color = HIT_COLOR # Set color to hit color
126136
else: # No sound now, but still SWING or HIT modes
127137
play_wav('idle', loop=True) # Resume idle sound
128-
mode = 1 # Return to idle mode
138+
mode = 1 # Return to idle mode

0 commit comments

Comments
 (0)