View Single Post
  #1   Spotlight this post!  
Unread 26-01-2008, 15:01
Nathan's Avatar
Nathan Nathan is offline
Registered User
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Alumni
 
Join Date: Sep 2006
Rookie Year: 2007
Location: United States
Posts: 149
Nathan has a spectacular aura aboutNathan has a spectacular aura aboutNathan has a spectacular aura about
ReadSerialPortx Questions

When the function ReadSerialPortx is called does it actually read from the serial port, or does it read a byte from the input circular buffer?

If the ReadSerialPortx function does read from the buffer, I'm assuming the data from the serial ports is automatically stuffed into these buffers? As in, I don't need to write a routine to fill the buffers with data?

And finally, how large are the input and output ring buffers? I need to know how fast I need to retrieve data from them so overwrites don't occur.

TIA,
Nathan
__________________
Save money with PriceWombat, a shopping comparison and price tracking tool (that I made!).

Check out my hobby electronics business!

My former robotics team: Huntington County 4-H Robotics