Quote:
|
Originally Posted by BradAMiller
There's a copy of printf in the C library supplied by Microchip. In fact you can look at the source code in the src directory in the mcc18 install.
It implements most of the standard printf features except floating point. And does support longs and some of the other data types.
|
You can also get the extended integer formatting code referred to in the white paper: "Introduction to C programming for first robotics applications" that will format signed and unsigned longs and will also format fixed point numbers, if you are using them. The white paper indicates where to download this code.