avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] very simple program


From: Royce Pereira
Subject: Re: [avr-gcc-list] very simple program
Date: Mon, 03 Oct 2005 23:20:12 +0530
User-agent: Opera M2/8.50 (Win32, build 7700)

Hi,

On Sun, 02 Oct 2005 23:05:06 +0530, Parthasaradhi Nayani <address@hidden> wrote:

In order to set the bit, you need to logical OR the
bit.

DDRB |= _BV (PB0);
..etc.

Actually thats not the problem, you dont have to OR if you only want to set 1 bit & dont care abt the others, Maybe he wants to Make PB0 output & rest inputs. His code is valid.

Also I dont think it has any thing to do with his '__stack' problem.

--Royce.

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/




reply via email to

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