Oky It's working now with the same code without any changing , I think the problem is that the chip which is not working with code is damaged , I replace it and everything is working now
define osc 4
trisb=0
main:
portb=0
pause 1000
portb=255
pause 1000
goto main
end




Bookmarks