Notifications
Clear all

Controlling a third DC motor with Arduino fails

16 Posts
4 Users
0 Likes
3,513 Views
(@marcelinnorway)
Member
Joined: 4 years ago
Posts: 9
Topic starter  

Guys..now hear this...In one of my previous post on this subject i wrote:

"Seriously.....looking at the skecth now.....am I missing an else statement after text "rotating the dragline" ?"

You know how many times I went through the code to find out what was wrong? And didn't see it? Must be my age, I think. And so Bill comes up with the remark on "you're missing an ELSE statement" which confirms my suspicion.

Changed the sketch accordingly.

 

Guess what? It works.

Now a new issue, no big deal, I can live with it, but maybe you guys now why: I can use both joysticks and then the motors move simultaniously, for eksempel dropping the bucket and slipping the dragcable. But when I move the joysticks in opposite direction, I can only move one of them. Curiously.

Somebody interested in a picture of the contraption?

And guys: thanx for helping.

 


   
ReplyQuote
Page 2 / 2