Yahoo Groups archive

AVR-Chat

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

Message

problem with uart help

2005-07-04 by aswinefy2003

I have the following code written in icc avr compiler


 uart_init()//intialiation of uart
 delay();
  while(condition=true)
 {
 while(!(UCSRA&(1<<UDRE)));
 UDR=data
 }

The problem is when  i remove the delay  
the uart is transmitting is some junk char's .
But if  the delay() is present there ,there is no problem .
KIndly advice to rectify the problem

Attachments

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.