Quote Originally Posted by Leonardo View Post
Hello,

It Happens that I don't want to use an alone RTC I want to use code.
Well, then here's some good code for you that take into account the time it takes for the loop and the led statement,....with a 4mhz oscillator

start:
pause 499
pauseus 988
led = 1
pause 499
pauseus 988
led = 0
goto start

Now, how about showing us what you've got written so far, and let us know which PIC you are going to use, what your oscillator source is going to be, etc.etc. We'll help you...but you've got to help yourself...