[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Newbie - should this work?

From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Newbie - should this work?
Date: Mon, 20 Jan 2003 10:12:21 +0100 (MET)

"Artur Lipowski" <address@hidden> wrote:

>> int main() {
>>    DDRD = 0xff;
>>    PORTD = 0X00;
>> }
> And what next?
> You should add some infinite loop, or go sleep.

Not required.  The function "exit" implicitly ends up in an infinite
loop, provided by the gcc/avr-libc framework.
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/
avr-gcc-list at http://avr1.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]