What's the proper way to format the byte (or int or float) to const char*?
Is there a way to create a function that works with any type so I could either pass a number or a string ?
Another approach you could take is to use the power of C++. When you define a function, part of the "signature" are the type and number of parameters. That is how the compiler determines which function to call. This allows you to declare multiple versions of the same function, much like Serial.print().
seems there are many commands necessary to display things on such displays. i've tried capturing them all in a single sub-function that is passed one or more formatted strings.
the calling functions can used sprintf() to format the strings in a variety of ways and types of values. nulls can be passed for unused lines on the display
the strings can also be dumped on the serial monitor for debugging