Skip to content

Commit 237aba1

Browse files
authored
update song to go forward
1 parent c76643b commit 237aba1

File tree

1 file changed

+1
-1
lines changed
  • Grand_Central_Robot_Xylophone

1 file changed

+1
-1
lines changed

Grand_Central_Robot_Xylophone/code.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
STRIKE_TIME = 0.01 # Time between initiating a strike and turning it off
2121
TIME_BETWEEN = 0.5 # Time between actions in seconds
2222

23-
song = [4, 3, 2, 3, 4, 4, 4, 3, 3, 3, 4, 4, 4, 4, 3, 2, 3, 4, 4, 4, 5, 5, 4, 3, 2]
23+
song = [3, 4, 5, 4, 3, 3, 3, 4, 4, 4, 3, 3, 3, 3, 4, 5, 4, 3, 3, 3, 2, 2, 3, 4, 5]
2424

2525
def play(key, time_to_strike):
2626
solenoid[key].value = True

0 commit comments

Comments
 (0)