Yahoo Groups archive

AVR-Chat

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

Message

USART string reception

2004-11-20 by Ian Drennan

I am new to AVR and want to receive and store a string of 10 bytes transmitted from the PC. Each sequentially received byte needs to be stored into a variable(1 of 10) in SRAM for later use. I am using the USART in asynchronous mode on the mega8 and want to use the USART Receive Complete Interrupt for each received byte. I have done a search but have not found a suitable method to do this. What is the slick way to do this, and do I need to send an ack for each byte received to pace the transmission from the PC?
Many thanks
Ian

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.