Would appreciate help with the following error :
Arduino: 1.8.13 (Windows 10), Board: “DOIT ESP32 DEVKIT V1, 80MHz, 115200, None”
ESP32_Sender:10:40: error: exponent has no digits
uint8_t broadcastAddress[] = {3C:71:BF:9E:1B:84};
^
ESP32_Sender:10:31: error: unable to find numeric literal operator ‘operator””C’
uint8_t broadcastAddress[] = {3C:71:BF:9E:1B:84};
^
ESP32_Sender:10:33: error: expected ‘}’ before ‘:’ token
uint8_t broadcastAddress[] = {3C:71:BF:9E:1B:84};
^
ESP32_Sender:10:33: error: expected ‘,’ or ‘;’ before ‘:’ token
ESP32_Sender:10:48: error: expected declaration before ‘}’ token
uint8_t broadcastAddress[] = {3C:71:BF:9E:1B:84};
^
Multiple libraries were found for “WiFi.h”
Used: C:\Users\Jack\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi
Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
exit status 1
exponent has no digits
Hi.
If the MAC address is 3C:71:BF:9E:1B:84,
In your code, you should have:
uint8_t broadcastAddress[] = {0x3C, 0x71, 0xBF, 0x9E, 0x1B, 0x84};
Regards,
Sara