Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Using the ISP pins for BOTH led indicators and ISP

2005-01-20 by Paul Maddox

James,

> I'm just looking for the "net wisdom" as to whether this is an acceptable
practice.

Yeah, I do it all the time, looks kinda cool during programming too.
One peice of advice, include a short delay after power up, but before you
setup the IO pins.
in CV-AVr I do something like this ;-

void main(void)
{
delay_ms(200);
setup_io();
// rest of my code goes here.

This ensures that I'm not making the IO pins go high or low whilst the
programmer is jiggling the Reset line.
you could use a shorter delay, but I'm just paranoid.

Paul

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.