NES controller?

jglenn

Senior Member
Can the PICAXE even see a 12 uS pulse? Detect the leading edge?

Doesn't it have to be in a sense loop at the right time to see it?
 

picaxester

Senior Member
I got it working :)

Heres a simple test program:
Code:
symbol datapin = pin3
symbol clockpin = 2
symbol latchpin = 1

do
pulsout latchpin, 1

for b0 = $50 to $57
	poke b0, pin3
	pulsout clockpin, 1
next b0

sertxd ("BUTTONS", 13, 10)

for b0 = $50 to $57
	peek b0, b1
	sertxd (#b1, 13, 10)
next b0

pause 500

loop
Heres another site with a bit more info.:
http://www.mit.edu/~tarvizo/nes-controller.html
 
Top