Closed GoogleCodeExporter closed 8 years ago
Ok I know I'm a bit late but just in case ...
Try to change pinout scheme... let's say : DATA 5, STROBE 7, CLOCK 6 and
declare your SNESPad (or NESPad) object with " SNESpad nintendo =
SNESpad(7,6,5); ". Don't forget to check your baud rate. Hope it would work for
you ;)
Thanks for your cool library ;)
Original comment by cyril.br...@gmail.com
on 29 Jun 2010 at 11:54
This library did not work for me at all until I fixed the code. Did anyone get
this working with an SNES controller? The problem is that the constructor
arguments strobe, clock, and data are NOT successfully assigned to m_strobe,
m_clock, and m_data outside of the constructor. So all the digitalWrites and
the digitalRead are on pin 0. There's no way this could have worked for
anyone, unless the avr-gcc compiler just broke recently.
Original comment by nootropi...@gmail.com
on 13 Jul 2010 at 2:45
Default constructor appears to be broken.
Explicitly declaring an object ( SNESpad nintendo = SNESpad(2,3,4); ) works
fine.
Original comment by jssheffi...@gmail.com
on 15 Aug 2010 at 5:23
I wrote this quite a while ago and I'm pretty sure it worked then without
specifying the pin numbers in the constructor. I'd be surprised if something
changed in avr-gcc to break it, but who knows. Since I don't even have a game
pad to test this with anymore, I think the easiest thing to do is just say that
you always have to specify the pin numbers - not a big deal, right?
Original comment by rah...@gmail.com
on 8 Nov 2010 at 6:00
I've uploaded a version 1.3 that gets rid of the constructor with default pin
assignments.
Original comment by rah...@gmail.com
on 13 Nov 2010 at 2:54
Original issue reported on code.google.com by
adrian.t...@gmail.com
on 5 Nov 2009 at 2:47