Arduino Pro (Leonardo Micro)

Various user-contributed guides for hardware-related things
myPiZero
Posts: 30
Joined: Mon Aug 15, 2016 11:34 pm
Been thanked: 4 times

Re: Arduino Pro (Leonardo Micro)

Post by myPiZero » Mon Oct 31, 2016 1:39 pm

Happy to hear the Arduino is not dead.
I tested it again on my bench and it functions properly.
I put the code in github
https://github.com/Boris4K/FastArduinoKeyboard

User avatar
winnetouch
Posts: 153
Joined: Mon Jul 11, 2016 10:56 am
Has thanked: 2 times
Been thanked: 30 times

Re: Arduino Pro (Leonardo Micro)

Post by winnetouch » Wed Nov 02, 2016 2:17 pm

Yeah... That was kind of my fault that it didn't work. I rechecked my soldering on the pro micro and it was OK but then I removed the controller board from the gameboy casing Most of the wires got torn off... No wonder it didn't work if the connections failed. Also... Why the left bumper didn't work. I connected the bumper to pin 16 and didn't notice that pin 16 doesn't even exist in your code. So I connected it to A1 and it works fine now. Thank you for the help :)

User avatar
supperdd
Posts: 7
Joined: Sat Sep 03, 2016 10:08 am

Re: Arduino Pro (Leonardo Micro)

Post by supperdd » Thu Nov 17, 2016 3:32 am

I have a problem with my leonardo pro micro
Says to me:

Code: Select all

/home/xxx/Arduino/libraries/Keyboard-master/src/Keyboard.h:25:17: fatal error: HID.h: No such file or directory
 #include "HID.h"
                 ^
compilation terminated.
Erreur lors de la compilation
When I try to program it

ps I'm in linux ...

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2811
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1420 times
Been thanked: 3081 times

Re: Arduino Pro (Leonardo Micro)

Post by Helder » Thu Nov 17, 2016 3:51 am

In Arduino IDE go to libraries and search for HID and download the ones you're missing. I have specifically the correct one info on my Arduino Programming thread on the "Other Hardware" subforum.
My Sale Threads:

Retro PSU, 3.5A output!


Chat with me and other members


Don't contact me about obtaining my board files (as you will not get them). Don't contact me about any of my boards if they are sold out, they will be restocked as soon as I can get them.


Don't support thieves like ckliang who copied my AIO to resell and is now cloning the mintyPi, support the original creators and not the thieves!

User avatar
supperdd
Posts: 7
Joined: Sat Sep 03, 2016 10:08 am

Re: Arduino Pro (Leonardo Micro)

Post by supperdd » Thu Nov 17, 2016 5:21 am

The library is already installed that's why I ask the question :-)

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2811
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1420 times
Been thanked: 3081 times

Re: Arduino Pro (Leonardo Micro)

Post by Helder » Thu Nov 17, 2016 6:12 am

supperdd wrote:The library is already installed that's why I ask the question :-)
I had the same issue but there are a bunch of HID libraries which is why I told you to go look at my thread (I can't remember the name off the top of my head) so you get the correct one. The one I mention is used for making a gamepad but there are other to make a keyboard so depends on what you intend to do.
My Sale Threads:

Retro PSU, 3.5A output!


Chat with me and other members


Don't contact me about obtaining my board files (as you will not get them). Don't contact me about any of my boards if they are sold out, they will be restocked as soon as I can get them.


Don't support thieves like ckliang who copied my AIO to resell and is now cloning the mintyPi, support the original creators and not the thieves!

User avatar
supperdd
Posts: 7
Joined: Sat Sep 03, 2016 10:08 am

Re: Arduino Pro (Leonardo Micro)

Post by supperdd » Thu Nov 17, 2016 6:15 am

This is to do the controller of the gamboy pi zero :-)

User avatar
vnman
Posts: 147
Joined: Tue Jun 21, 2016 5:21 am
Has thanked: 5 times
Been thanked: 34 times

Re: Arduino Pro (Leonardo Micro)

Post by vnman » Thu Nov 17, 2016 7:25 am

What Helder meant was what do you want the Game pad to emulate - Keyboard or joystick.

If you want to emulate joystick use Sota's guide. If you want keyboard then follow instructions on this thread.

User avatar
supperdd
Posts: 7
Joined: Sat Sep 03, 2016 10:08 am

Re: Arduino Pro (Leonardo Micro)

Post by supperdd » Thu Nov 17, 2016 7:28 am

this I do not know
what is the best ??

User avatar
vnman
Posts: 147
Joined: Tue Jun 21, 2016 5:21 am
Has thanked: 5 times
Been thanked: 34 times

Re: Arduino Pro (Leonardo Micro)

Post by vnman » Thu Nov 17, 2016 7:35 am

which do you prefer?
If you program the board as joystick then you have the option to add analog stick. If you don't want or have no need for analog stick then use keyboard.

Which emulators you want to run on this GBZ? most work fine with keyboard.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest