[Top][All Lists]

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

Re: [avr-gcc-list] How to (efficeiently !!!) test a bitwithinamulti-byte

From: David Kelly
Subject: Re: [avr-gcc-list] How to (efficeiently !!!) test a bitwithinamulti-byte intege
Date: Sat, 5 Nov 2005 12:42:49 -0600

On Nov 4, 2005, at 6:18 PM, Vincent Trouilliez wrote:

Correct :-)
actually I did'nt even make it a function, as I use it only in one
place, the routine the send the character to LCD and waits 40us for the
LCD to process it.
I delcared the loop counter volatile and that indeed fixed it, thanks ! I can now enjoy the massive shrinking (13KB+ down to 10KB !) of the -Os
flag :o)

Didn't I tell you to poll the LCD's busy bit in the first place? Wouldn't have had the above problem if you had. :-)

David Kelly N4HHE, address@hidden
Whom computers would destroy, they must first drive mad.

reply via email to

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