From f71a8e8752516b88a4d58ba9abbdad9f209f5dff Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Mon, 16 Jan 2023 19:59:40 +0100 Subject: [PATCH] a small change to revive my -C3 device ...this was a little innocent comment in the examples provided by the device manufacturer. It seems that sometimes the WiFi radio does not switch on, and `WiFi.setTxPower(WIFI_POWER_5dBm);` properly initialized the "Raisun". --- wled00/wled.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wled00/wled.cpp b/wled00/wled.cpp index 06703528..beb9b2ff 100644 --- a/wled00/wled.cpp +++ b/wled00/wled.cpp @@ -776,6 +776,8 @@ void WLED::initConnection() WiFi.begin(clientSSID, clientPass); #ifdef ARDUINO_ARCH_ESP32 + // WLEDMM - if your board has issues connecting to WiFi, try uncommenting this + // WiFi.setTxPower(WIFI_POWER_5dBm); // required for ESP32-C3FH4-RGB WiFi.setSleep(!noWifiSleep); WiFi.setHostname(hostname); #else