Yahoo Groups archive

AVR-Chat

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

Message

Help needed on atmel mega 169

2006-10-31 by ven_praneeth

Hi,

I need few suggestions on the class project for atmel mega 169

I have to write a program to display numbers from 1 to 7 one after
another.
It seems to be easy but it should have a delay of 2 seconds one after
another.

I need your suggestion and help in completing this task.

I have implemented the following code.

while(1)
{
for(i=0;i<7;i++)
{
PORTD=~i;
}
}


which looks like it should work fine what shall i do for further more.

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.