So I am trying to display a text file saved on a micro SD CARD on the touch screen. I have altered the example given by ST (FatFs example). One particular command in this example is this:
printf("rc=%u FR_%s\n\r", (UINT)rc, str);
and so I altered it so as to be displayed on the LCD to:
LCD_DisplayStringLine (Line2, "rc=%u FR_%s", (UINT)rc, str);
However since the variable rc is not of type uint8, I am getting an error of: Error[Pe140]: too many arguments in function call. Is there another command that I can use or another solution?
Thanks for all you help and support