question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error When Writing to a Arduino Leo!!!

See original GitHub issue
Arduino: 1.8.4 Hourly Build 2017/08/18 04:33 (Windows 10), Board: "Arduino Leonardo"

C:\Users\Adminstrator\Documents\Arduino Rubber Ducky\Test\Dckuino.js-yd1w.ino: In function 'void typeKey(uint8_t)':

Dckuino.js-yd1w:7: error: redefinition of 'void typeKey(uint8_t)'

 void typeKey(uint8_t key)

      ^

C:\Users\Adminstrator\Documents\Arduino Rubber Ducky\Test\Test.ino:7:6: note: 'void typeKey(uint8_t)' previously defined here

 void typeKey(uint8_t key)

      ^

C:\Users\Adminstrator\Documents\Arduino Rubber Ducky\Test\Dckuino.js-yd1w.ino: In function 'void setup()':

Dckuino.js-yd1w:15: error: redefinition of 'void setup()'

 void setup()

      ^

C:\Users\Adminstrator\Documents\Arduino Rubber Ducky\Test\Test.ino:15:6: note: 'void setup()' previously defined here

 void setup()

      ^

C:\Users\Adminstrator\Documents\Arduino Rubber Ducky\Test\Dckuino.js-yd1w.ino: In function 'void loop()':

Dckuino.js-yd1w:48: error: redefinition of 'void loop()'

 void loop() {}

      ^

C:\Users\Adminstrator\Documents\Arduino Rubber Ducky\Test\Test.ino:48:6: note: 'void loop()' previously defined here

 void loop() {}

      ^

exit status 1
redefinition of 'void typeKey(uint8_t)'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Plazmazcommented, Sep 8, 2017

No problem! Okay, so it looks like you have two sketches within the same directory. I’m pretty sure this isn’t allowed by Arduino by default. Try moving either Test.ino or Dckuino.js-yd1w.ino to another directory

0reactions
Plazmazcommented, Sep 14, 2017

Happy to hear it @TheEnchantedCow! Will be closing this issue now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Arduino Leonardo error - Programming Questions
When I try to upload, an error message pops up: "Couldn't find a Leonardo on the selected port. Check that you have the...
Read more >
Error When Writing to a Arduino Leo!!! · Issue #33 - GitHub
Arduino : 1.8.4 Hourly Build 2017/08/18 04:33 (Windows 10), Board: "Arduino Leonardo" C:\Users\Adminstrator\Documents\Arduino Rubber ...
Read more >
Blank project gives errors while uploading Arduino Leonardo ...
After doing this the only error I got was Arduino IDe simply saying that it doesn't have permission to write to that port....
Read more >
Error on Leonardo deployment - XOD Community
avrdude: ser_send(): write error: sorry no info avail ... upload --fqbn arduino:avr:leonardo --port COM4 --verbose -t ...
Read more >
Unable to programme Arduino Leonardo - Support
The port appears as /dev/cv usb.modem 111201 (Arduino Leonardo) and the Board ... avrdude: ser_send(): write error: Device not configured
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found