due

do you have to right code different for the due compaired to other units I cant get it to take the code it comes back with sam-ba option failed any ideas anyone

Most things are the same. Some are different.

The problem is in the code you didn't post.

Please try to put yourself in our shoes, knowing nothing about you, or what you are trying to do, and read back what you wrote.

Does it make any kind of sense?

Please do this:

  • When you encounter an error, you'll see a button on the right side of the orange bar "Copy error messages" in the Arduino IDE (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button..
  • In a forum reply here, click on the reply field.
  • Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
  • Press "Ctrl + V". This will paste the error between the code tags.
  • Move the cursor outside of the code tags before you add any additional text to your reply.

If the text exceeds the forum's 9000 character limit, save it to a .txt file and post it as an attachment. If you click the "Reply" button here, you will see an "Attachments and other settings" link.