Hello, I am Bruno, I am from brazil and I am new here.I have started to learn C programming for microcontrollers but I have a bug and I don't know what to do.The delay function is not working on Proteus.I am using the not registred version of MikroC pro for pic ( demo version ) 7.2.
You forgot to add the delay after the instruction LED=0; as it is, the LED will stay high for 1 second, while it will stay low for only a few CPU machine cycles.