Hi all.
An Arduino newbie here.
I have a ESP32S ESP32 ESP-WROOM-32 Development Board 2.4GHz Dual-Core WiFi +Bluetooth 2 Function Microcontroller for Arduino
Arduino: 1.8.19 (Windows 7), Board: "ESP32-WROOM-DA Module, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None, Disabled"
I bought it here: https://www.amazon.com/gp/product/B09J95SMG7/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1
My sketch is not compiling and giving me an error.
I got my sketch from: ESP NOW - Peer to Peer ESP32 Communications
( I ran this same sketch on a different windows computer a few weeks ago, with the same hardware and sketch. It work perfectly then).
My sketch is below and the error file was so long I am attaching it as a text file.
ugyui.txt (141.1 KB)
I would like input on how to fix this issue.
Ty
/*
ESP32 MAC Address printout
esp32-mac-address.ino
Prints MAC Address to Serial Monitor
DroneBot Workshop 2022
https://dronebotworkshop.com
*/
// Include WiFi Library
#include "WiFi.h"
void setup() {
// Setup Serial Monitor
Serial.begin(115200);
// Put ESP32 into Station mode
WiFi.mode(WIFI_MODE_STA);
// Print MAC Address to Serial monitor
Serial.print("MAC Address: ");
Serial.println(WiFi.macAddress());
}
void loop() {
}