Basically, what i would like help on is the simple logic behind how you go about measuring 1ms - 2ms pulses every 20ms. I would preferably need help with assembly as that is the program i am currently using
At the moment I only know how to do it with just one push button
Any help would be greatly appreciated.
At the moment I only know how to do it with just one push button
Rich (BB code):
EFFECT_1 BTFSC PORTA,SW1
GOTO EFFECT_1
E1 MOVLW B'00100000' ;
MOVWF PORTB
CALL DELAY_ROUTINE
MOVLW B'00110000' ;
MOVWF PORTB...