Floating Point Values with vfprintf for AVR

The default implementation of vfprintf and its variants for AVR devices does not include floating point conversions, for the purpose of decreasing code compile size. One option is to use linker options to include support for floating point values as seen at http://www.nongnu.org/avr-libc/user-manual/group__avr__stdio.html, but it may be kept in mind that this will require a significant amount of extra memory, which may not be available in devices with small memories. Another option, which is used in this application note, is to perform calculations on the floating point value to give the integer and fraction parts to the desired number of decimal places, and treat both parts as integers with a decimal point in between in the character string.