Adding sound files
Unzipped sound files
This commit is contained in:
parent
76b4975389
commit
b34a162eb5
12 changed files with 10 additions and 6 deletions
Binary file not shown.
16
Burning_Fire_Wizard_Staff/code.py
Executable file → Normal file
16
Burning_Fire_Wizard_Staff/code.py
Executable file → Normal file
|
|
@ -18,8 +18,17 @@ import board
|
|||
import neopixel
|
||||
import adafruit_lis3dh
|
||||
|
||||
# CHANGE TO MATCH YOUR RING AND STRIP SETUP
|
||||
NUM_RING = 12 #12 pixel ring
|
||||
NUM_STRIP = 44 # 44 pixels in my NeoPixel strip
|
||||
NUM_PIXELS = NUM_STRIP + NUM_RING #total number of pixels
|
||||
|
||||
NEOPIXEL_PIN = board.D5 # PropMaker Wing uses D5 for NeoPixel plug
|
||||
POWER_PIN = board.D10
|
||||
|
||||
|
||||
# CUSTOMISE COLORS HERE:
|
||||
COLOR = (200, 50, 0) # Default idle is orange
|
||||
COLOR = (200, 30, 0) # Default idle is orange
|
||||
ALT_COLOR = (0, 200, 200) # hit color is teal
|
||||
SWING_COLOR = (200, 200, 200) #swing animation color is white
|
||||
TOP_COLOR = (100, 100, 0) #top color is yellow-green
|
||||
|
|
@ -42,11 +51,6 @@ YELL_THRESHOLD = 700
|
|||
POWER_ON_SOUND_DURATION = 3.0
|
||||
YELL_SOUND_DURATION = 1.0
|
||||
|
||||
NUM_RING = 12 #12 pixel ring
|
||||
NUM_STRIP = 44 # 44 pixels in my NeoPixel strip
|
||||
NUM_PIXELS = NUM_STRIP + NUM_RING #total number of pixels
|
||||
NEOPIXEL_PIN = board.D5 # PropMaker Wing uses D5 for NeoPixel plug
|
||||
POWER_PIN = board.D10
|
||||
|
||||
enable = digitalio.DigitalInOut(POWER_PIN)
|
||||
enable.direction = digitalio.Direction.OUTPUT
|
||||
|
|
|
|||
BIN
Burning_Fire_Wizard_Staff/sounds/hit1.wav
Executable file
BIN
Burning_Fire_Wizard_Staff/sounds/hit1.wav
Executable file
Binary file not shown.
BIN
Burning_Fire_Wizard_Staff/sounds/hit2.wav
Executable file
BIN
Burning_Fire_Wizard_Staff/sounds/hit2.wav
Executable file
Binary file not shown.
BIN
Burning_Fire_Wizard_Staff/sounds/hit3.wav
Executable file
BIN
Burning_Fire_Wizard_Staff/sounds/hit3.wav
Executable file
Binary file not shown.
BIN
Burning_Fire_Wizard_Staff/sounds/hit4.wav
Executable file
BIN
Burning_Fire_Wizard_Staff/sounds/hit4.wav
Executable file
Binary file not shown.
BIN
Burning_Fire_Wizard_Staff/sounds/idle.wav
Executable file
BIN
Burning_Fire_Wizard_Staff/sounds/idle.wav
Executable file
Binary file not shown.
BIN
Burning_Fire_Wizard_Staff/sounds/on.wav
Normal file
BIN
Burning_Fire_Wizard_Staff/sounds/on.wav
Normal file
Binary file not shown.
BIN
Burning_Fire_Wizard_Staff/sounds/swing1.wav
Executable file
BIN
Burning_Fire_Wizard_Staff/sounds/swing1.wav
Executable file
Binary file not shown.
BIN
Burning_Fire_Wizard_Staff/sounds/swing2.wav
Executable file
BIN
Burning_Fire_Wizard_Staff/sounds/swing2.wav
Executable file
Binary file not shown.
BIN
Burning_Fire_Wizard_Staff/sounds/swing3.wav
Executable file
BIN
Burning_Fire_Wizard_Staff/sounds/swing3.wav
Executable file
Binary file not shown.
BIN
Burning_Fire_Wizard_Staff/sounds/yell1.wav
Executable file
BIN
Burning_Fire_Wizard_Staff/sounds/yell1.wav
Executable file
Binary file not shown.
Loading…
Reference in a new issue