Pages: 1 [2]   Go Down
Author Topic: Library for motor control  (Read 4550 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 27
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

this looks nice.

I tried your library with an arduino nano but did not get it to work.

It compiles correctly but the motor just does not move.

I do: MotorControl MotorLeft(8,7,6);

and   MotorLeft.SpeedWrite(-255);

similar to your example.

I tried it without your library, just using PWM pin 8 and direction pins 7,6 directly and it makes the motor turn.

so i am not sure why it's not working with your library.
Any ideas?

Logged

Pages: 1 [2]   Go Up
Jump to: