So just strip your code down to the very basics...
start:
if porte.1=1 then
high porta.0
else
low porta.0
endif
goto start
and tell me what happens after DOUBLE CHECKING that PortE.1 is actually switching between +5v and 0v. measure actually ON THE PIC pin itself... I've seen many a hairline PCB crack in my time.
Bookmarks