Above the main problem
I need to set a pin low on intialization or it floats or drives high. I set the pin low before the main, but the program seems to continue to go thru the code above the main even though my last line is goto main.
I tested this by putting a flash led above the main and it flashes after it enters the main
What I am I not doing to prevent this?
thanks ahead of time....
16F15324
INLVLA = %11111
OUTPUT PORTA.4 ' FET
FET VAR PORTA.4 ' FET
low fet
main
goto main
Last edited by pescador; - 30th May 2023 at 23:34.
My dad never liked you...
Bookmarks