View Single Post
  #15   Spotlight this post!  
Unread 02-07-2002, 12:32
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Ian,

Yes, this example assumes that data is read from the computer's UART one byte at a time. From a software standpoint, this is the easiest case to deal with. If your computer's UART has a FIFO buffer on the output, and you get packets larger than one byte, the code (state machine) gets just a little more complicated.

Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org