I have an array of char (string) that contain a decimal number. How do I convert it to unsigned char?
char my_first_reg[2];
memcpy( my_first_reg, &my_str_mymatch[0], 1 );
my_first_reg[1] = '\0';
// now my_first_reg contain reg number ... how to convert to unsigned char