Hi , i wanna turn a led on and then off. and that should be in a loop ..
so i have written a code. is it correct and am i supporsed to to use a cristal. of can i use the internal clock i'm Using PIC16F84A
I suggest you lose the antique 16F84, and use a more modern device - and my first tutorial does exactly what you want, using the F84's replacement, the 16F628 - it would be trivial to convert to the 84 if you really had to.
Yep, here's a link, not sure about the 16F84 getting an I/O pin out of the deal though.
PS your program will probably run so fast you wont see it blink. https://www.mikroe.com/en/books/picbook/2_02chapter.htm**broken link removed**