Basic Stamp 2 SHIFTOUT with clock input?
QAH
Posts: 13
Hello everyone!
I am trying to interface my Basic Stamp 2 with the controller port on my Super Nintendo System. I've been able to successfully interface Super Nintendo controller to the stamp, but not the stamp to the console.
Here's my problem. The Super Nintendo sends clock pulses to the controllers so that they will shift each button state to its CPU. I am trying to emulate a controller with my Basic Stamp, and I thought about using the SHIFTOUT command to shift button states to the Super Nintendo. The problem is, the Basic Stamp also wants to pulse the clock line, but I need it to "listen" for pulses from the Super Nintendo as a queue to send a bit.
So in a nutshell, how can I make the stamp shift out data bits by listening to clock pulses instead of it sending its own?
Thanks
I am trying to interface my Basic Stamp 2 with the controller port on my Super Nintendo System. I've been able to successfully interface Super Nintendo controller to the stamp, but not the stamp to the console.
Here's my problem. The Super Nintendo sends clock pulses to the controllers so that they will shift each button state to its CPU. I am trying to emulate a controller with my Basic Stamp, and I thought about using the SHIFTOUT command to shift button states to the Super Nintendo. The problem is, the Basic Stamp also wants to pulse the clock line, but I need it to "listen" for pulses from the Super Nintendo as a queue to send a bit.
So in a nutshell, how can I make the stamp shift out data bits by listening to clock pulses instead of it sending its own?
Thanks
Comments