Skip to main content
luigi2
Associate III
February 7, 2005
Question

unsigned int & printfLCD

  • February 7, 2005
  • 2 replies
  • 648 views
Posted on February 07, 2005 at 10:12

unsigned int & printfLCD

This topic has been closed for replies.

2 replies

luigi2
luigi2Author
Associate III
February 4, 2005
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 III
February 7, 2005
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';

}