You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Ubuntu 21.04 and the latest version of VSCode. In building a project for the ESP32 using Arduino for esp32doit-devkit-v1
I get the following error:
error: 'dacDisable' was not declared in this scope
The file correctly compiles when using the Arduino IDE.
The source file I used to test is:
#include <Arduino.h>
void setup() {
// put your setup code here, to run once:
dacWrite(25, 233);
dacDisable(25);
}
void loop() {
// put your main code here, to run repeatedly:
}
I suspect your issue is because platform-espressif32 is still based on Arduino 1.0.6 and an old version (3.3.1?) of the IDF.
See platformio/platform-espressif32#710
I am using Ubuntu 21.04 and the latest version of VSCode. In building a project for the ESP32 using Arduino for esp32doit-devkit-v1
I get the following error:
The file correctly compiles when using the Arduino IDE.
The source file I used to test is:
By modifying platform.ini from:
to:
It now compiles correctly.
Please update the vscode extension to correct this issue.
The text was updated successfully, but these errors were encountered: