Hi can anyone please help me with this. How do I read a number from EEPROM and than add "0x" as a prefix to it? Reading a mac address from EEPROM and need it to display in this format: 0xEEPROM.read(1)
I meant something like this would do the job
uint8_t friendmac[LIST_SIZE][ESPPL_MAC_LEN];
void setup() {
for (size_t l = 0; l < LIST_SIZE; l++)
for (byte m = 0; m < ESPPL_MAC_LEN; m++)
friendmac[l][m] = EEPROM.read(1 + l * ESPPL_MAC_LEN + m);
}
void loop() {}