Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

RE: [AVR-Chat] Digest Number 1075

RE: [AVR-Chat] Digest Number 1075

2005-07-05 by Lauer, Thilo

I don't actually use the IAR compiler and didn't actually test this
code, but so far, nobody seems to complain about the value assignment
within the while statement, which in fact should just be a comparison:

 uart_init()//intialiation of uart
 delay();
  while(condition=true)		// shouldn't that read: "while
(condition == true)"??
 {
 while(!(UCSRA&(1<<UDRE)));
 UDR=data
 }

I also don't know if this will fix your problem, but it's definitely a
bug in your program.

-- Thilo

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.