Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hello, I would like to show temperature = float on my display and I have a problem with this code: float test1=1.123; char stringPrint[30]; sprintf(stringPrint, "%.1f", pokus1); BSP_LCD_SetTextColor(LCD_COLOR_BLACK); BSP_LCD_DisplayStringAt(0, 200,test, LEFT_MODE);
I think all is ok, however here is error message: Error: Argument of type "char *" is incompatible with parameter of type "std::uint8_t *" in "main.cpp", Line: 62, Col: 33
Where is a problem ? Thank you.