EvilGenius
Member
Hi Mike
In your code you wrote:
btfsc swnew,0 ; RA0 on? no, skip, else |00
call off_mode ; |00
btfsc swnew,1 ; RA1 on? no, skip, else |00
call man_mode ; |00
btfsc swnew,2 ; RA2 on? no, skip, else |00
call auto_mode ; |00
goto loop ; |00
----------
Don't we want to Test for High and Branch out on LOW?
btfss .....
call Off_Mode
Edit: for common anode configuration that is...
In your code you wrote:
btfsc swnew,0 ; RA0 on? no, skip, else |00
call off_mode ; |00
btfsc swnew,1 ; RA1 on? no, skip, else |00
call man_mode ; |00
btfsc swnew,2 ; RA2 on? no, skip, else |00
call auto_mode ; |00
goto loop ; |00
----------
Don't we want to Test for High and Branch out on LOW?
btfss .....
call Off_Mode
Edit: for common anode configuration that is...