Being new to C programming, I just can't seem to figure this one out.
I am sending a string my LCD write function. The function works fine with variable length text as I use a buffer.
void lcd_out(const char *buffer);
Now, how do I send it a formatted string like so?
lcd_out("Version %d.%d", verMajor, verMinor);
I need to somehow replicate the behaviour of printf in my function, but how?