For my WOL project i need to my mac address in a byte array but i cant find a way to solve it.
My Mac Adress look like
10-F0-05-19-38-A4
and it should look like
byte mac[] = { 0xFE, 0xBB, 0x34, 0xE5, 0x29, 0xFC };
How can i achive this?
For my WOL project i need to my mac address in a byte array but i cant find a way to solve it.
My Mac Adress look like
10-F0-05-19-38-A4
and it should look like
byte mac[] = { 0xFE, 0xBB, 0x34, 0xE5, 0x29, 0xFC };
How can i achive this?
fboulegue:
For my WOL project i need to my mac address in a byte array but i cant find a way to solve it.
My Mac Adress look likeand it should look like
How can i achive this?
Just add leading 0x
mac = 10-F0-05-19-38-A4;
byte mac[] = { 0x10, 0xF0, 0x05, 0x19, 0x38, 0xA4 };