Pages: [1]   Go Down
Author Topic: LINUX servo inverted angle then on WINDOWS  (Read 568 times)
0 Members and 1 Guest are viewing this topic.
Lithuania
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why the same arduino application reacts diferently on linux arduino and on windows.
Programmed application for robot arb nortol using servo. And on windows compiling and upploading works fine, but in linux same aplication all servos go to other sit than it has to. So why is servo 0 on windows go to one side and on linux it gos to other side?  smiley-confuse
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 290
Posts: 25730
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Perhaps if we could see the offending articles, we could help.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Edison Member
*
Karma: 9
Posts: 1015
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I noticed a difference in the past, due to different versions of the Arduino and avr gcc.

Do you use the latest version?
For linux you can download the newest version, and unpack it in a directory, and use it from there.

Do you use normal code? Initializing variables, and so.
Logged

Pages: [1]   Go Up
Jump to: