RE: [avr-gcc-list] Problem with timer0 overflow interrupt in clanguage..

2007-12-10 Thread Schwichtenberg, Knut
On Friday, December 07, 2007 5:24 PM, David Kelly wrote: The compiler won't read PINB using the above. In general on AVR when one reads PORTB one reads the output latchs, in other words the last value written. On other CPU's this same action may read the input buffers. AVR provids PIN

Re: [avr-gcc-list] Problem with timer0 overflow interrupt in clanguage..

2007-12-10 Thread David Kelly
On Mon, Dec 10, 2007 at 12:51:31PM +0100, Schwichtenberg, Knut wrote: On Friday, December 07, 2007 5:24 PM, David Kelly wrote: The compiler won't read PINB using the above. In general on AVR when one reads PORTB one reads the output latchs, in other words the last value written. On other