From 65c4570eef26dc9c99c3e1a8fdf29337850382c4 Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Sun, 31 Jan 2021 16:37:32 +0900 Subject: [PATCH] crickets (d1_mini_pro) --- crickets/platformio.ini | 10 ++++++++++ crickets/src/main.cpp | 2 ++ src/main.cpp | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/crickets/platformio.ini b/crickets/platformio.ini index d9d93d6..414e82a 100755 --- a/crickets/platformio.ini +++ b/crickets/platformio.ini @@ -21,6 +21,16 @@ lib_deps = ESP8266WiFi Servo(esp8266) +[env:d1_mini_pro] +platform = espressif8266 +board = d1_mini_pro +lib_deps = + ${env.lib_deps} + ESP8266WiFi + Servo(esp8266) +upload_speed = 460800 +; 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600 + [env:huzzah] platform = espressif8266 board = huzzah diff --git a/crickets/src/main.cpp b/crickets/src/main.cpp index 6430139..2185f21 100755 --- a/crickets/src/main.cpp +++ b/crickets/src/main.cpp @@ -65,6 +65,8 @@ // #if defined(ARDUINO_ESP8266_NODEMCU) // nodemcuv2 #define LED_PIN 2 +#elif defined(ARDUINO_ESP8266_WEMOS_D1MINIPRO) // d1_mini_pro +#define LED_PIN 2 #elif defined(ARDUINO_ESP8266_ESP12) // huzzah #define LED_PIN 2 #elif defined(ARDUINO_FEATHER_ESP32) // featheresp32 diff --git a/src/main.cpp b/src/main.cpp index 5240368..a38971d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -101,7 +101,7 @@ // #if defined(ARDUINO_ESP8266_NODEMCU) // nodemcuv2 #define LED_PIN 2 -#elif defined(ARDUINO_ESP8266_WEMOS_D1MINIPRO) // d1_mini +#elif defined(ARDUINO_ESP8266_WEMOS_D1MINIPRO) // d1_mini_pro #define LED_PIN 2 #elif defined(ARDUINO_ESP8266_ESP12) // huzzah #define LED_PIN 2