Pages: 1 2 3 [4] 5 6 ... 8   Go Down
Author Topic: Arduino Nes controller, Please Help!  (Read 6126 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 67
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

edit, in serial monitoring, i get different numbers when i press a button, except when i press the "a" button, the number doesnt change. it spams "127"
« Last Edit: February 01, 2013, 04:37:07 pm by Craftee » Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 67
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

cant i emulate a keyboard directly from leonardo? so that i dont need processing?
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Absolutely you can do that.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 67
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Absolutely you can do that.

just one problem, i dont know how to make the code get the information that the controller is sending.
like i was thinking

Code:
if (input == 127)
  emulateKey(A)


or something like that.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 67
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

idk, a little directional help would help
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Take a look at this post:

http://arduino.cc/forum/index.php?topic=112965.0

I press a button on a keypad, and it "types" stuff into a forum message.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 286
Posts: 25666
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
a little directional help would help
Over there!

Seriously, what is that supposed to mean?

What is the Arduino code doing?
You have to describe it because we can't see it.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Jr. Member
**
Karma: 0
Posts: 67
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
a little directional help would help
Over there!

Seriously, what is that supposed to mean?

What is the Arduino code doing?
You have to describe it because we can't see it.

directional help to get started in emulating a keyboard? because i dont know how to integrate it into my code?
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 67
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Take a look at this post:

http://arduino.cc/forum/index.php?topic=112965.0

I press a button on a keypad, and it "types" stuff into a forum message.

i read your post, but im still confused as to how to let the arduino know that button "a" was pressed?


im so confused
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 67
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

bump
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You are going to have to stop asking questions and start writing some code.

Do you have a way if knowing if button "a" is pressed? I guess so, because you had numbers flashing by.

Don't keep asking "how do I do it"?  Make an attempt, and post the code.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 67
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You are going to have to stop asking questions and start writing some code.

Do you have a way if knowing if button "a" is pressed? I guess so, because you had numbers flashing by.

Don't keep asking "how do I do it"?  Make an attempt, and post the code.

ive been attempting for over 20+ hours now. what more do you want from me? im just a kid!
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 67
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

im just a kid that needs help, gosh!
Logged

UK
Offline Offline
Shannon Member
****
Karma: 222
Posts: 12524
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

im just a kid that needs help, gosh!

If you think you are capable of solving this problem already with a little help, then you ought to be at least part way there on your own. Show us where you've got so far and which part you need help with, and no doubt there will be plenty of people willing to steer you round the problem.

If you simply don't know where to start, then put this project down and start with something simpler. It's best not to try to boil the ocean - learn things one step at a time.

Logged

I only provide help via the forum - please do not contact me for private consultancy.

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

i feel stupid, i accidently switched the yellow and brown, its working now ...

OK. What's working? Are you getting numbers in the serial monitor? What number do you see if you press button "a"?

Logged

Pages: 1 2 3 [4] 5 6 ... 8   Go Up
Jump to: