Talk about (almost) anything
Post a reply

Gamebuino directional button maps

Fri Jul 10, 2015 4:25 am

Hello,

I am currently creating my own Gamebuino clone and I am following the Gamebuino_r3_Schematics.pdf. My question is what are BTN0, BTN1, BTN2, and BTN3? I know they are the directional buttons but are they Up, Right, Down, and Left? Any insight on this would be awesome and would save me solder and headaches. Thanks

OuchitBurns

Re: Gamebuino directional button maps

Fri Jul 10, 2015 1:22 pm

i dont have the answer but u can try and do them on a breadboard first and see wich is wich

Re: Gamebuino directional button maps

Fri Jul 10, 2015 4:40 pm

Re: Gamebuino directional button maps

Postby adekto » Fri Jul 10, 2015 1:22 pm
i dont have the answer but u can try and do them on a breadboard first and see wich is wich


Thanks for your response. Normally I would have done just that, but I am still waiting on my display to arrive in the mail. Luckily I went ahead and read the settings.c file and finally found the answer I was looking for.

Code:
//buttons pins
#define BTN_UP_PIN      9
#define BTN_RIGHT_PIN   7
#define BTN_DOWN_PIN    6
#define BTN_LEFT_PIN    8
#define BTN_A_PIN       4
#define BTN_B_PIN       2
#define BTN_C_PIN       A3


Thanks again



Ouchitburns
Post a reply