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

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

Re: [avr-gcc-list] light up and led


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] light up and led
Date: Thu, 6 Oct 2005 09:50:02 +0200 (MET DST)

Timothy Smith <address@hidden> wrote:

>     while (1) {
>         PORTA &= !(1<<PA0);

! is the Boolean negation.  You want bitwise negation, operator ~.

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/




reply via email to

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