• We recently switched our forum platform. If you experience any issues please email support@crystalfontz.com

Variable Uint16_T in C language




which datatype will be taken for the variable if one gives Uint16_t..??
How to convert Uint16_t to string in C language..??

Thanks in advance
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.
Please do not post the same question in more than one forum :).

The Uint16_t is a synonym for "unsigned short", a 16 bit variable, also known as "WORD".

Convert to string?? You must mean create a string with the numeric value as text.

typedef unsigned short Uint16_t
Uint16_t value = 2057;
char text[32];
sprintf (text, "%u", value);
Result: text[] = "2057"