cancel
Showing results for 
Search instead for 
Did you mean: 

unsigned int & printfLCD

luigi2
Associate II
Posted on February 07, 2005 at 10:12

unsigned int & printfLCD

2 REPLIES 2
luigi2
Associate II
Posted on February 04, 2005 at 12:56

Hello,

I using a dk3300-ELCD, and i forced to visualize into my ELCD display an unsigned int can you help me???

sorry for this stupid problem ... but i'm a novice

thanks

gianfranco2
Associate II
Posted on February 07, 2005 at 10:12

Hi, try with this

void itoa8(PM_u16 ItoaAux)

{

char Str[STR2 + 1];

PM_u16 n=ItoaAux;

int i,resto;

for (i=STR2; i>=0; i--)

{

resto=n%10;

Str[i] = resto+'0';

n/=10;

}

Str[STR2 + 1]='\0';

}