View Single Post
  #3   Spotlight this post!  
Unread 05-02-2005, 17:37
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,334
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
Re: Updated: Serial Port Driver Code

Quote:
Originally Posted by Greg Marra


We just spent all day today updating our camera code to work with your old drivers! How changed are the new ones?
It's called job security, Dude <grin!>. I added the "glue" function, _user_getc(), that's required to interface to the new output stream functions. I dumped the old printf() interface, and now use the variable "stdout_serial_port" to select which port to send the output (stdout is now used by Microchip's code). If you made the changes to the camera code I suspect you did, you should be able to just drop the new code into your build and disable serial port two in serial_ports.h.

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