GY-63_MS5611/libraries/PrintSize
2020-02-19 10:38:09 +01:00
..
examples added readme.md, updated examples 2020-02-19 10:38:09 +01:00
library.json fix library.json keywords format 2018-01-09 00:11:37 +01:00
library.properties initial version 0.1.0 2017-12-09 19:52:49 +01:00
PrintSize.h initial version 0.1.0 2017-12-09 19:52:49 +01:00
readme.md added readme.md, updated examples 2020-02-19 10:38:09 +01:00

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.