How Do I Control Adafruit Motor Shield v2 with Only Digital Output Pins?

billygoat162:
I have an Adafruit motor shield v2 (p1438) and am trying to just run wires to it from my Arduino to control 3 DC motors. I already have two shields on my Mega board and just want to write normal code to control the motors, like digitalWrite(2, HIGH) to turn the motor one direction and digitalWrite(3,HIGH) to turn it the other direction. No PWM, just full on/off but with two directions. Can this be done?

I think you need to have a good read of the manual and how I2C works.
Your motor shield uses I2C to be controlled.
You need to have a long read of this.

By the looks of it the shield only needs 5V, gnd, SDA and SCL from your Mega board.
Tom... :slight_smile: