Michael Watterson wrote: > Don't use printf > It's horrible ... It is, but some of the alternatives are not much better. > ... and the compiler has no idea if the arguments are sensible. This is not true if the format string is a literal (as is the case here and in most microcontroller applications) and you have the right compiler. GCC for example has an option to check literal format strings for the printf/scanf families and issue warnings if it detects type mismatches. Gerhard --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .