Display Decimal instead of Hex

26 Jul 2017

Hi there,

I'm, working with the STM32F469I and nearly completed my job on it.

The only thing left is to display received data on screen in decimal. Currently I'm just able to display it in HEX.

A main part of the displaying process is the following line of code

sprintf((char*)Text, DisplayText, TextVariable); 
lcd.DisplayStringAt(TextVarX, TextVarY, (uint8_t *)&Text, LEFT_MODE);

Best regards Ludger

27 Jul 2017

Sorry, just realized how easy the display is... Simple add %d in the string...