Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying out some code using the Arduino IDE. The code basically tries to connect to a server and push some data to it.

When I upload the sketch to the Arduino from Mac (Apple PC running on Mac OS) the code works as expected without an error.

However, when I upload the same code/sketch from a Linux machine on Ubuntu, the arduino does not operate as expected.

I tried taking a diff comparison of the HEX files created in both machines to check whether there are any differences (expecting very few). But found that there a lot of differences.

What am I missing? Why isn't my code working when uploaded via the Linux PC!!!!!

share|improve this question
    
Make sure you're using the correct versions of libraries / IDE you use. Compiler version could be different, but should not matter in most cases. Also you need to give more details, otherwise guesswork is all we can do. – fuenfundachtzig Jun 12 '15 at 20:19
    
Just got it sorted. Like you said the problem was with the Libraries used. Different version were used in both PCs – Shabirmean Jun 12 '15 at 20:28
    
'MAC' == Media Access Control, the unique ID given to each Ethernet or WiFi interface. 'Mac' is (sometimes) used as a nickname for Apple, Inc.s desktop and laptop computers. I've edited the question. – JRobert Dec 11 '15 at 0:05

Got this sorted.

The issue was that different versions of the library was being used in both the PCs. One we made sure that the Linux PC used the same as the MAC one it all worked fine!!!

Thanks Guys

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.