Skip to content

Commit

Permalink
Cập nhật wemos d1 mini
Browse files Browse the repository at this point in the history
  • Loading branch information
bangnguyendev committed Jun 29, 2024
1 parent b0c2888 commit 4a79446
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions platformio_override.ini
Original file line number Diff line number Diff line change
Expand Up @@ -132,28 +132,26 @@ build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP8266
-D AUTOSAVE_AFTER_SEC=10
-D AUTOSAVE_PRESET_NUM=100
-D USERMOD_AUTO_SAVE_ON_BOOT=true
-D USERMOD_ANALOG_CLOCKQ
; -D USERMOD_MODE_SORT
; -D WLED_DISABLE_OTA
-D WLED_DISABLE_OTA
-D WLED_DISABLE_ALEXA
; -D WLED_DISABLE_INFRARED # IR dieu khien hong ngoai
-D WLED_DISABLE_INFRARED # IR dieu khien hong ngoai
-D WLED_ADD_EEPROM_SUPPORT
-D DEFAULT_LED_COLOR_ORDER=COL_ORDER_GRB
; #if defined(ESP8266) || (defined(ARDUINO_ARCH_ESP32) && defined(WLED_USE_PSRAM)) || defined(CONFIG_IDF_TARGET_ESP32C3) || defined(ARDUINO_ESP32_PICO)
; #define LEDPIN 2 // GPIO2 (D4) on Wemos D1 mini compatible boards, and on boards where GPIO16 is not available
; #else
; #define LEDPIN 16 // aligns with GPIO2 (D4) on Wemos D1 mini32 compatible boards
-D LEDPIN=2
-D BTNPIN=0
-D TOUCHPIN=T0
-D IRPIN=4
-D WLED_AP_SSID_UNIQUE
; -D BTNPIN=0
; -D TOUCHPIN=T0
; -D IRPIN=4
; -D WLED_AP_SSID_UNIQUE
lib_deps = ${esp8266.lib_deps}
; monitor_filters = esp8266_exception_decoder
; change MCU frequency
board_build.f_cpu = 160000000L
; setupCOM
; upload_port = COM[4]
upload_port = COM[4]

[env:esp32dev]
board = esp32dev
Expand Down

0 comments on commit 4a79446

Please sign in to comment.