> Here's a good starting point for blinking an LED with RA4. When you > understand why the 4K7 is in there, you can probably write software > that allows you to leave it out. ;-) > > Vdd > + > +---------+-----+ > | | > | .-. > Vdd | | |470R > .-------o-----. | | > | | '-' > | | +--------+ > | PIC | LED | | > | | V / .-. > | | - / | | > | | RA4 | | | > | +--o----+ | 4K7'-' > | | | | | | > | | | +----+--------+ > | ||-+ | > | ||<- | > | -||-+ | > | | | > | | | > | | | > '----------|--' > === > GND I don't see what purpose the 4.7Kohm resistor is serving either. It will cause RA4 to float all the way to Vdd when off, making it easy to see with a scope. But, it would be better connected directly between RA4 and Vdd for that purpose, The LED would pull RA4 high enough to be easily visible anyway, and I don't see how any software would make a difference. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.