"John" wrote: > Not using printf() or even including stdio.h > It is the same as largedemo which comes with avr-glibc. > Some simple functions are defined within the program.
Same issue, but different functions. The version of largedemo that I just looked at uses itoa() to convert an integer to a string. itoa() treats all values passed in for conversion as a signed value, but you only get the minus sign for base 10 conversions. utoa() is the unsigned version of itoa(), and similarly utoa() will convert all values passed in to an unsigned value. -Preston _______________________________________________ AVR-chat mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-chat
