Verify problem at first code

I wirted this code

#define LED_BUILTIN 22

void setup() {
  // put your setup code here, to run once:
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
  digitalWrite(LED_BUILTIN, HIGH);
  delay(1000);
  digitalWrite(LED_BUILTIN, LOW);
  delay(1000);
}

and get a error message:

In file included from sketch\leduj.ino.cpp:1:0:
C:\Users\attil\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.5\cores\esp32/Arduino.h:184:12: error: 'std::round' has not been declared
using std::round;
^
exit status 1
Error compiling for board FireBeetle-ESP32.

are you using an Arduino Esplora ?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.