Do you want a hex display on your LCD or decimal? You could do this for fixed-size hex: for (i=3; i>=0; i--) lcd_digit ((i_temp >> i) & 0x0f); Or sprintf(buf, "%04x", i_temp); _______________________________________________ geda-user mailing list geda-user@xxxxxxxxxxxxxx http://www.seul.org/cgi-bin/mailman/listinfo/geda-user