Forum Replies Created
April 22, 2019 at 5:18 PM in reply to: Arduino & 1Sheeld GamePad control video game issue with syncing to arrow keys #138136
I’m glad that you like the project and I would be glad to share it with others, I’m currently typing up a report and a presentation on how this project was developed over time, such as steps and errors that I faced for my class. So it would great to share it with others for different insights on the project its self.April 22, 2019 at 12:47 AM in reply to: Arduino & 1Sheeld GamePad control video game issue with syncing to arrow keys #138021
I got the code to work and it has successfully synced to my laptop, I had to redownload the 1Sheeld library!
Thank you so much for your help! 🙂April 18, 2019 at 1:33 AM in reply to: Arduino & 1Sheeld GamePad control video game issue with syncing to arrow keys #137370
So I was using the online editor for Arduino, so deleting the library didn’t seem to be an option so I decided to try it again on the downloadable version of Arduino software. And came across another error, I looked through my C: drive folder where it was directing me and couldn’t find the file.
“Arduino: 1.8.9 (Windows 10), Board: “Arduino Leonardo”
C:\Users\MAYASM~1\AppData\Local\Temp\ccFeKWSU.ltrans1.ltrans.o: In function
C:\Users\Maya Smallwood\Desktop\Project\GamePad/GamePad.ino:16: undefined reference to
C:\Users\Maya Smallwood\Desktop\Project\GamePad/GamePad.ino:21: undefined reference to
C:\Users\Maya Smallwood\Desktop\Project\GamePad/GamePad.ino:26: undefined reference to
C:\Users\Maya Smallwood\Desktop\Project\GamePad/GamePad.ino:31: undefined reference to `GamePad’
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Leonardo.
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.
”April 16, 2019 at 9:23 PM in reply to: Arduino & 1Sheeld GamePad control video game issue with syncing to arrow keys #137153
Hi Amr, I’ve tried the code that you provided and it gave me the following error below, Also, I tested out the website code and the led light attached lights up, however, I’m going to see if I can acquire jumpers to fit into the 1sheeld RX and TX pins as did the website pictures and program.
“Multiple libraries were found for “Keyboard.h”
Not used: /home/builder/opt/libraries/latest/bluefairy_1_0_0
Using library keyboard_1_0_2 at version 1.0.2 in folder: /home/builder/opt/libraries/latest/keyboard_1_0_2
Using library HID at version 1.0 in folder: /home/builder/.arduino15/packages/arduino/hardware/avr/1.6.23/libraries/HID
/tmp/ccBy66mc.ltrans1.ltrans.o: In function
/tmp/129203869/GamePad/GamePad.ino:17: undefined reference to
/tmp/129203869/GamePad/GamePad.ino:22: undefined reference to
/tmp/129203869/GamePad/GamePad.ino:27: undefined reference to
/tmp/129203869/GamePad/GamePad.ino:32: undefined reference to `GamePad’
collect2: error: ld returned 1 exit status
exit status 1 ”April 16, 2019 at 1:21 AM in reply to: Arduino & 1Sheeld GamePad control video game issue with syncing to arrow keys #137017
This is the code that I have written when I tried to upload it originally it didn’t upload.