Hello, this is my first post - question.
Could you please tell me how to properly display data from some int variable (uint16_t is enough) in waveshare OLED 1.5 RGB display? The manufacturer gave a library in which it is possible to display the number, but everywhere it is enclosed in quotation marks ("012") - and the problem is that I have, for example, a measurement result and I would like to immediately display this result on the display. An attempt to give it to the command, unfortunately, gives the bushes I don't know what I'm doing wrong
Here is an example from this library:
Paint_DrawNum(3, 110, "00:00:00:00", &Font16, 2, GREEN, BLACK);
And I try to display uint with this function , as below :
uint8_t data =012; // for example only
Paint_DrawNum(3, 110, data, &Font16, 2, GREEN, BLACK);
Unfortunately it does not work - I have nonsense on the display. Can someone indicate how to use it correctly? Thank you very much and regards