View Single Post
  #6   Spotlight this post!  
Unread 19-03-2004, 02:20
Larry Barello Larry Barello is offline
http://www.barello.net
#0492 (Titan Robotics Club)
Team Role: Mentor
 
Join Date: Jan 2002
Location: Bellevue, WA
Posts: 85
Larry Barello has a spectacular aura aboutLarry Barello has a spectacular aura about
Re: Anyone with a replacement Printf?

Ok, I finally figured out how to modify printf_lib to do what I want. I have posted a white paper + code out my teams web site in the white papers section.

http://www.titanrobotics.net/index2....whitepages.cfm

It is a fully buffered I/O for both the TTY and Program serial ports (i.e. streams).

It is rather nice to be able to have the user interface (to examine the health of the robot) on one port and have the diagnostics spit out on another port simutaneously.

It is also really nice to be able to put printf() in interrupt handlers and have it work without messing up the interrupt handler.

Enjoy.