mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
.. | ||
examples | ||
library.json | ||
library.properties | ||
PrintSize.h | ||
readme.md |
PrintSize
PrintSize is a minimal library to determine the length of a variable when printed. This includes printing of floats
Examples
Example show the alignment of 10 random numbers, both print(), println() and if supported printf().
notes
Can be used to calculate the needed space.
- to properly do a right alignment e.g. for numbers.
- do left alignement and overwrite previous output with spaces.
- centering of numbers
- see if output will fit into a line.