When it times out, it will fall straight through to whatever garbage is in the chip, you have remmed out any code after the label "TIMEOUT", you need to un-remark 'GOTO LOOP_PRINCIPAL at the bottom of your code you show.
When it times out, it will fall straight through to whatever garbage is in the chip, you have remmed out any code after the label "TIMEOUT", you need to un-remark 'GOTO LOOP_PRINCIPAL at the bottom of your code you show.
Bookmarks