Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Use of printf in WPILib (http://www.chiefdelphi.com/forums/showthread.php?t=44962)

koenig3456 03-03-2006 11:15

Use of printf in WPILib
 
I am trying to use WPILib on a 2005 Robot Controller. Since it only has 32k of memory, code size is very important. It looks like the CMU camera code uses the printf function and the printf function uses about 3k of memory. Could the code be changed to use the itoa function instead?

BradAMiller 03-03-2006 21:17

Re: Use of printf in WPILib
 
Quote:

Originally Posted by koenig3456
I am trying to use WPILib on a 2005 Robot Controller. Since it only has 32k of memory, code size is very important. It looks like the CMU camera code uses the printf function and the printf function uses about 3k of memory. Could the code be changed to use the itoa function instead?

That's a good idea.

Is this something that you need quickly (he said sitting in a hotel room in Manchester at the BAE Regional).

koenig3456 06-03-2006 07:21

Re: Use of printf in WPILib
 
I can wait. Its more of a wish than a need.


All times are GMT -5. The time now is 03:17.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi