Fixed ESP32 version
Updated ESP32 binaries
This commit is contained in:
parent
e97a739f03
commit
bf2fe43c0e
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/wled05dev_1801162_CRONIXIE_ESP32.bin
Normal file
BIN
bin/wled05dev_1801162_CRONIXIE_ESP32.bin
Normal file
Binary file not shown.
BIN
bin/wled05dev_1801162_RGBW_ESP32.bin
Normal file
BIN
bin/wled05dev_1801162_RGBW_ESP32.bin
Normal file
Binary file not shown.
BIN
bin/wled05dev_1801162_RGB_ESP32.bin
Normal file
BIN
bin/wled05dev_1801162_RGB_ESP32.bin
Normal file
Binary file not shown.
@ -38,6 +38,7 @@
|
|||||||
#define CALL_MODE(n) (this->*_mode[n])();
|
#define CALL_MODE(n) (this->*_mode[n])();
|
||||||
|
|
||||||
void WS2812FX::init() {
|
void WS2812FX::init() {
|
||||||
|
for (int i=0; i < _led_count; i++) _locked[i] = false;
|
||||||
begin();
|
begin();
|
||||||
WS2812FX::setBrightness(_brightness);
|
WS2812FX::setBrightness(_brightness);
|
||||||
show();
|
show();
|
||||||
@ -2034,6 +2035,7 @@ void WS2812FX::show()
|
|||||||
portDISABLE_INTERRUPTS();
|
portDISABLE_INTERRUPTS();
|
||||||
delay(1);
|
delay(1);
|
||||||
NeoPixelBrightnessBus::Show();
|
NeoPixelBrightnessBus::Show();
|
||||||
|
delay(1);
|
||||||
portENABLE_INTERRUPTS();
|
portENABLE_INTERRUPTS();
|
||||||
#else
|
#else
|
||||||
NeoPixelBrightnessBus::Show();
|
NeoPixelBrightnessBus::Show();
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
//automatically uses the right driver method for each platform
|
//automatically uses the right driver method for each platform
|
||||||
#ifdef ARDUINO_ARCH_ESP32
|
#ifdef ARDUINO_ARCH_ESP32
|
||||||
#define PIXELMETHOD NeoWs2813Method
|
#define PIXELMETHOD NeoEsp32BitBangWs2813Method
|
||||||
#else
|
#else
|
||||||
#define PIXELMETHOD NeoEsp8266Uart800KbpsMethod
|
#define PIXELMETHOD NeoEsp8266Uart800KbpsMethod
|
||||||
#endif
|
#endif
|
||||||
|
@ -29,14 +29,15 @@
|
|||||||
#include "WS2812FX.h"
|
#include "WS2812FX.h"
|
||||||
|
|
||||||
//version in format yymmddb (b = daily build)
|
//version in format yymmddb (b = daily build)
|
||||||
#define VERSION 1801150
|
#define VERSION 1801162
|
||||||
const String versionName = "WLED 0.5dev";
|
const String versionName = "WLED 0.5dev";
|
||||||
|
|
||||||
//AP and OTA default passwords (change them!)
|
//AP and OTA default passwords (change them!)
|
||||||
String appass = "wled1234";
|
String appass = "wled1234";
|
||||||
String otapass = "wledota";
|
String otapass = "wledota";
|
||||||
|
|
||||||
//If you have an RGBW strip, uncomment first line in WS2812FX.h!
|
//If you have an RGBW strip, also uncomment first line in WS2812FX.h!
|
||||||
|
boolean useRGBW = false;
|
||||||
|
|
||||||
//overlays, needed for clocks etc.
|
//overlays, needed for clocks etc.
|
||||||
#define USEOVERLAYS
|
#define USEOVERLAYS
|
||||||
@ -105,7 +106,6 @@ boolean turnOnAtBoot = true;
|
|||||||
uint8_t bootPreset = 0;
|
uint8_t bootPreset = 0;
|
||||||
byte col_s[]{255, 159, 0};
|
byte col_s[]{255, 159, 0};
|
||||||
byte col_sec_s[]{0, 0, 0};
|
byte col_sec_s[]{0, 0, 0};
|
||||||
boolean useRGBW = false;
|
|
||||||
byte white_s = 0;
|
byte white_s = 0;
|
||||||
byte white_sec_s = 0;
|
byte white_sec_s = 0;
|
||||||
byte bri_s = 127;
|
byte bri_s = 127;
|
||||||
|
@ -183,7 +183,7 @@ void wledInit()
|
|||||||
server.on("/down", HTTP_GET, down);
|
server.on("/down", HTTP_GET, down);
|
||||||
server.on("/cleareeprom", HTTP_GET, clearEEPROM);
|
server.on("/cleareeprom", HTTP_GET, clearEEPROM);
|
||||||
//init ota page
|
//init ota page
|
||||||
httpUpdater.setup(&server); //only for ESP8266
|
httpUpdater.setup(&server);
|
||||||
//init ArduinoOTA
|
//init ArduinoOTA
|
||||||
ArduinoOTA.onStart([]() {
|
ArduinoOTA.onStart([]() {
|
||||||
#ifndef ARDUINO_ARCH_ESP32
|
#ifndef ARDUINO_ARCH_ESP32
|
||||||
|
Loading…
Reference in New Issue
Block a user