I am absolutly not doing C, but for a small thing, I need to make a very simple function. I have problem understanding the result.
I have a MAC address and I need to output the PIN code. (wiimote) I got this function so far
int main(int argc, char *argv[])
{
char pin[6];
pin[0] = 0x61;
pin[1] = 0xC7;
pin[2] = 0x5E;
pin[3] = 0x00;
pin[4] = 0x9E;
pin[5] = 0xCC;
printf(pin);
return 0;
}
Problem is that I get as a result: aヌ^ Is it what I am supposed to get? Value should be different?
The point as David Hoelzer said, I might find a solution converting Hexa to string?
Thank you!