At 11:32 AM 7/20/01 -0500, Lawrence Lile wrote: >Hmmm. CCS doesn't seem to recognize sprintf. Anybody got any code for this >one? There is some simple code here: http://myweb.worldnet.net/~stcarrez/examples/calc_c-source.html But I don't think it recognizes the %02d formatting I used (field length of two characters, pad with leading zeros), just %d. You could diddle around with this to make it work, I suppose. Providing a separate sprintf is an inefficient thing to do because normally printf and sprintf share the formatting code, they just spit out the results to a different destination. Best regards, =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com Contributions invited->The AVR-gcc FAQ is at: http://www.bluecollarlinux.com =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu