On Wed, 5 Jun 1996, Troy Nelson wrote: > Finally - if someone is using the 16C71 and has a simple program (like > blinking an LED) they would email - I would sure appreciate it. I'm > trying to get an LED to blink and finding the process humbling. My > program is only about 20 lines long - so including it in the email Hi, Like you I'm just starting out on using these 'wonderful' PIC Chips, and also started off using the 16C71 to blink an LED and, yes you've guessed it, It didn't work either. Well after hours of looking through the data sheets and nearly throwing the whole thing in the bin, I found the answer(I think). Because the 16C71 has the A/D on board, it uses the port pins as inputs, so you have to tell it to use them as digital I/O, As far as I can tell you do this by accessing register 88H as follows. BSF 3H,5H ;Select page MOVLW B'00000011' ;Set bits for digital I/O MOVWF 88H ;Set register BCF 3H,5H I've tried this code in my program and it seems to work. Hope this helps a little bit, and good luck with future programs, I think we may both need it. Cheers Steve.