Go Down

Topic: Uploading Sketches to Arduino Due (Read 163 times) previous topic - next topic

schoolsterz123

Jan 29, 2017, 10:12 pm Last Edit: Jan 29, 2017, 11:11 pm by schoolsterz123
Hello,

I have a code I am trying to upload to an Arduino Due with the Arduino IDE. I don't see the Due listed on the board list, does anyone know how codes are supposed to be uploaded to Due boards?

Thanks!


UPDATE: I went to Board Manager and found where I could install a package to include the Arduino Due. Now I have it as an option.

When I try to upload the code I now get an error message, "'Keyboard' only supported on the Arduino Leonardo."

I am using the Keyboard.begin(); functions in my code to send keypresses to the computer. I was under the impression this works with both the Leonardo and Due. Any advice here?

weird_dave

Can you post the script? I added
#include <Keyboard.h>
and
Keyboard.begin();
to one of my projects and it uploaded fine.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy