CedArctic / DigiSpark-Scripts

USB Rubber Ducky type scripts written for the DigiSpark.
MIT License
1.92k stars 602 forks source link

Getting this issue when uploading Wifi Profile Mailer #19

Closed ghost closed 5 years ago

ghost commented 5 years ago

WiFi_Profile_Mailer_New:9: error: redefinition of 'void loop()'

void loop() {

  ^

WiFi_Profile_Mailer:7: error: 'void loop()' previously defined here

void loop() {

  ^

exit status 1 redefinition of 'void loop()'

CedArctic commented 5 years ago

Looks like you've defined void loop somewhere else in the script as well or it's in some other file you've imported. Check that you're using the original unmodified file when compiling and that you've followed all instructions correctly here: https://digistump.com/wiki/digispark/tutorials/connecting I'm closing the issue for now since there doesn't seem to be an issue with the script itself.