Posted: Sat Aug 22, 2009 2:24 am
Quote:
To the "edge detection" poster. You can't do edge detection on the lines, so timing is all you have.
You absolutely can do edge detection in software.
Code: Select all
1$: LDA portA
AND #bitmask
BEQ 1$
; edge 1 happened here.
2$: LDA portA
AND #bitmask
BNE 2$
; edge 2 happened here.