Figured it out. Silly mistake--didn't realize that the motor power supply and arduino have to share a common ground.