Yahoo Groups archive

AVR-Chat

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

Message

Timeout detection Serial RS232 USART

2011-05-24 by farhan ahmad

Dear All,
 
I am currently in the process of writing software which involves reading characters from RS232 port. Can anyone suggest a good way of detecting a timeout condition? For example, if there will be no data on RS232 port for 500ms then program will do something else. 
 
I am using ATMEGA64 ATMEL AVR micro-controller. The software compiler is CodeVisionAVR. 
 
I hope to get valuable responses from all. 
 
Best Regards,
Farhan Ahmad

[Non-text portions of this message have been removed]

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.