• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP-NOW "Exponent has no digits"

Q&A Forum › Category: ESP32 › ESP-NOW "Exponent has no digits"
0 Vote Up Vote Down
Jack Douglas asked 5 years ago

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

Question Tags: Esp-now
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

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

0 Vote Up Vote Down
Jack Douglas answered 5 years ago

OK got it.  I had replaced the entire MAC address.

0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Great!
I’ll mark this issue as resolved.
If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.