Pages: 1 [2]   Go Down
Author Topic: Library for motor control  (Read 4724 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
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?


Pages: 1 [2]   Go Up
Jump to: