jmgelba , These lines will never execute because of the value of "A" before hand.
if (A <=4) THEN <<<<<<<<<<<<<<<<<<<<<<<<< here A = 6
GOTO loop
if (A = 5) then 'if A=5 fets are still on <<<<<<<<<<<<<<<< here A = 6
pauseus 1500 'set max time for fets to be on
PORTB = %00000111 'turn off fets
Also wheres the ENDIF's?
Dave Purola,
N8NTA
Bookmarks