pushed 'time' to top, fixed dupe var names

This commit is contained in:
John Edgar Park 2018-05-29 12:07:55 -07:00
parent ca879b8b05
commit 753ec79902

View file

@ -1,10 +1,10 @@
import time
from busio import I2C
from adafruit_seesaw.seesaw import Seesaw
from adafruit_seesaw.pwmout import PWMOut
from adafruit_motor import motor
import board
import neopixel
import time
import audioio
# Create seesaw object
@ -36,8 +36,8 @@ def play_file(wavfile):
while cpx_audio.playing:
pass
wavfile = "circus.wav"
play_file(wavfile)
wav_file_name = "circus.wav"
play_file(wav_file_name)
while True:
# set NeoPixels green in direction of movement