This commit is contained in:
Kattni Rembor 2018-05-29 17:02:59 -04:00
parent 2d0d86a21a
commit be2d7d9750

View file

@ -1,12 +1,12 @@
import time
import array
import math
from busio import I2C
from adafruit_seesaw.seesaw import Seesaw
from adafruit_seesaw.pwmout import PWMOut
from adafruit_motor import motor
import audiobusio
import time
import board
import array
import math
print("Sound sensor motor!")
@ -50,4 +50,3 @@ while True:
print(((magnitude),))
motor_a.throttle = map_range(magnitude, 90, 200, 0, 1.0)
time.sleep(0.1)