I am trying to get two things to work at once when the C command is used.
if command == 'C':
os.system('aplay /home/pi/sound/cclaw.wav')
motor = mh.getMotor(3)
motor.setSpeed(150)
motor.run(Adafruit_MotorHAT.BACKWARD)
time.sleep(2.5)
The sound plays then the motor runs. I need the sound to play at the same time as the motor runs