[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Brain cramp converting a hex value to decimal



> It is an integer, i_temp, who's value is 0x004F.

int i, i_temp;
char buf[20];
sprintf (buf, "%d", i_temp);
for (i=0; buf[i]; i++)
  lcd_do_character (buf[i]);


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user