GewoonGijs/VID28

Connect the pins

demobiel opened this issue · 1 comments

Hi,

I am really sorry, but I don't understand how to connect the pins only using 3 cables. I understand that the pins 2 and 3 of the motor should be controlled by the same pin on the Arduino, but not in which order.

Imagine this is my constructor (as in the example):
MotorVID28 motor(360*3*4, true, 9, 11, 10);

Does that mean:
Arduino pin 9 -> motor pin 1
Arduino pin 10 -> motor pin 2 and motor pin 3
Arduino pin 11 -> motor pin 4

Or is there another configuration?

if you can point me to the place in your code how I could have known this, that would help me in learning.

hi Gijs,

I figured out by trial and error. So my assumption was correct.

Thanks for this library!