Hi everyone
I am developing my own console printing application for use with an embedded micro controller, I have created a simple method to allow me to print plain text to my console:
Which works very nicely, I would like to be able to include numbers in my text so as to be able to output system variables. I use a range of numbers from uint8_t to uint64_t, int, real and double formats etc…Code:void cPrint (char *cMessage) { } // cPrint
I’m not being 'very' greedy at this stage, and would like to print out (lets say for starters) a uint8_t value within my text.
Does anyone know how I might do this? At the end of the operation the number will need to be part of the char variable this is passed to the cPrint method as shown above.
Many thanks for any help you can give
David