I am trying to use sprintf, well likely snprintf, with some strings that are in flash
code sprintf(buff, "var = d string = s\n", my_int, string_in_rom)
.... Why can't I use a % sign in the code block?
Anyway, int is a variable in RAM while the string is pointed to by a prog_char *.
So far I cannot get this to work. If I use sprintf or snprintf I can get the RAM int to print but not the string. If I use s[n]printf_P I do not get either value.
Also, I do not get any warnings, errors or anything else that would suggest this does not work. I am using -Wall to the best of my knowledge (not my make file originally). Should the above produce a waring or error.