locnar / nespad

Automatically exported from code.google.com/p/nespad
0 stars 0 forks source link

Not Recognizing input? #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using the Arduino IDE v 0017, I load the NES serial example sketch.
2. I upload the sketch to my Arduino (Atmega 328 in the official Arduino board).
3. I connect the plug on my NES controller to my Arduino using some wires, as 
described in the 
documentation.
4. I open the serial monitor.
5. I reset my Arduino.

What is the expected output? What do you see instead?

The serial monitor shows BBBB and a strange accented o character, and adds 
another copy of the 
same characters onto the end of the line once every second.  Pressing buttons 
on the NES 
controller does nothing to change this behaviour.

The LED sketch produces similarly disappointing results.  I receive no lit LEDs 
in return for my 
button presses.

I attempted to use a version of this code that did not involve the NESpad 
library, but instead just 
interpreted the NES button presses using only the contained code, and I 
received identical 
results.  Code obtained here: 
http://little-scale.blogspot.com/2007/07/nes-controller-to-
arduino.html

What version of the product are you using? On what operating system?

I am using an Arduino Duemilanove with an Atmega 328, connected to an original 
NES controller.  
The Arduino IDE is operating on a late-2008 MacBook Pro with a 2.4 GHz Intel 
Core 2 Duo, 2 GB 
RAM, running OS X version 10.5.8.

I have not encountered any similar problems using my Arduino with other 
projects interacting 
with this exact same setup.

Please provide any additional information below.

Original issue reported on code.google.com by adrian.t...@gmail.com on 4 Nov 2009 at 10:15

GoogleCodeExporter commented 8 years ago
Your baud rate on the terminal window isn't set to 57600. This is the one error 
I did 
manage to fix, I still can't however get any terminal data working except the 
'A' 
button.

Original comment by S.Marte...@gmail.com on 28 Jan 2010 at 8:16

GoogleCodeExporter commented 8 years ago
Wrong baud rate sounds right to me.  S MartelJr, does the serial example work 
for you?  I just uploaded a version 1.3 but I didn't change much at all so I 
wouldn't expect it to be any different.

Original comment by rah...@gmail.com on 13 Nov 2010 at 2:56