Hello,
I installed Atom with PlatformIO (actuell Releases) and started with the example "Blink".
It is not possible, to compile thate code.
This is te message:
#############################
No dependencies
Compiling .pioenvs\esp32dev\src\main.cpp.o
Compiling .pioenvs\esp32dev\FrameworkArduino\base64.cpp.o
Compiling .pioenvs\esp32dev\FrameworkArduino\cbuf.cpp.o
Compiling .pioenvs\esp32dev\FrameworkArduino\esp32-hal-adc.c.o
Compiling .pioenvs\esp32dev\FrameworkArduino\esp32-hal-bt.c.o
src\main.cpp: In function 'void setup()':
src\main.cpp:15:11: error: 'LED_BUILTIN' was not declared in this scope
pinMode(LED_BUILTIN, OUTPUT);
^
src\main.cpp: In function 'void loop()':
src\main.cpp:21:16: error: 'LED_BUILTIN' was not declared in this scope
digitalWrite(LED_BUILTIN, HIGH);
^
*** [.pioenvs\esp32dev\src\main.cpp.o] Error 1
[ERROR] Took 3.39 seconds
############################################
Does anyone knows, what's happening?
Thank you very much for your answers!
Hello, I installed Atom with PlatformIO (actuell Releases) and started with the example "Blink". It is not possible, to compile thate code. This is te message: ############################# No dependencies Compiling .pioenvs\esp32dev\src\main.cpp.o Compiling .pioenvs\esp32dev\FrameworkArduino\base64.cpp.o Compiling .pioenvs\esp32dev\FrameworkArduino\cbuf.cpp.o Compiling .pioenvs\esp32dev\FrameworkArduino\esp32-hal-adc.c.o Compiling .pioenvs\esp32dev\FrameworkArduino\esp32-hal-bt.c.o src\main.cpp: In function 'void setup()':
src\main.cpp:15:11: error: 'LED_BUILTIN' was not declared in this scope pinMode(LED_BUILTIN, OUTPUT); ^ src\main.cpp: In function 'void loop()': src\main.cpp:21:16: error: 'LED_BUILTIN' was not declared in this scope digitalWrite(LED_BUILTIN, HIGH); ^ *** [.pioenvs\esp32dev\src\main.cpp.o] Error 1 [ERROR] Took 3.39 seconds ############################################ Does anyone knows, what's happening? Thank you very much for your answers!
Regards
kleinlaut