Add default "LED_BUILTIN" for ESP Wrover Kit // Resolve #121
This commit is contained in:
@@ -7,22 +7,19 @@
|
||||
; Please visit documentation for the other options and examples
|
||||
; http://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[env:esp32dev]
|
||||
platform = espressif32
|
||||
framework = arduino
|
||||
board = esp32dev
|
||||
monitor_speed = 115200
|
||||
|
||||
[env:esp wrover kit]
|
||||
platform = espressif32
|
||||
framework = arduino
|
||||
board = esp-wrover-kit
|
||||
monitor_speed = 115200
|
||||
build_flags =
|
||||
; https://docs.espressif.com/projects/esp-idf/en/latest/get-started/get-started-wrover-kit.html#rgb-led
|
||||
-D LED_BUILTIN=2
|
||||
|
||||
[env:quantum]
|
||||
[env:esp32doit-devkit-v1]
|
||||
platform = espressif32
|
||||
framework = arduino
|
||||
board = quantum
|
||||
board = esp32doit-devkit-v1
|
||||
monitor_speed = 115200
|
||||
|
||||
[env:lolin32]
|
||||
|
||||
@@ -6,10 +6,8 @@
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
#ifndef LED_BUILTIN
|
||||
// Set LED_BUILTIN if it is not defined by Arduino framework
|
||||
#define LED_BUILTIN 13
|
||||
#endif
|
||||
// Set LED_BUILTIN if it is not defined by Arduino framework
|
||||
// #define LED_BUILTIN 2
|
||||
|
||||
void setup()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user