convert uint8_t to unsigned for printing.