Gamebuino directional button maps

Talk about (almost) anything

Gamebuino directional button maps

Postby Ouchitburns » 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
User avatar
Ouchitburns
 
Posts: 2
Joined: Fri Jul 10, 2015 4:12 am

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
User avatar
adekto
 
Posts: 448
Joined: Tue Feb 25, 2014 9:47 pm
Location: belgium

Re: Gamebuino directional button maps

Postby Ouchitburns » 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: Select all
//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
User avatar
Ouchitburns
 
Posts: 2
Joined: Fri Jul 10, 2015 4:12 am


Return to General forum

Who is online

Users browsing this forum: No registered users and 18 guests