Commit Graph

2339 Commits

Author SHA1 Message Date
cschwinne
d6749d30ab Fixed AEST and NZST DST change dates (resolves #2820 ) 2022-10-12 17:54:39 +02:00
Blaž Kristan
37a4a4dcdf Fix max bus limits for C3, S2 & S3 2022-10-11 09:46:48 +02:00
cschwinne
cebceb3ec3 Proper RMT channel checks for ESP32-C3 and S3 2022-10-10 17:04:25 +02:00
Blaz Kristan
426635871b Bus corrections for C3, S2 & S3.
Minor hostname tweak.
2022-10-10 16:46:23 +02:00
Blaz Kristan
701c90d18d Another string optimisation. 2022-10-09 13:39:17 +02:00
Blaz Kristan
d00a708177 Minor string optimisations. 2022-10-09 12:09:46 +02:00
Blaz Kristan
1f32f96487 Temporary preset bugfix. 2022-10-08 21:31:59 +02:00
Blaz Kristan
7642f8d702 Async preset saving.
Minor bugfixes.
2022-10-08 18:25:51 +02:00
cschwinne
e78bf240ca ESP32-C3: Do not default LEDPIN to reserved pin 16 2022-10-07 04:22:59 +02:00
Blaz Kristan
4fb44d98db Merge branch '0_14' of https://github.com/aircoookie/WLED into merge-0_14 2022-10-06 18:25:51 +02:00
Blaž Kristan
b4e3cccf4b Remove testing entry. 2022-10-06 12:22:02 +02:00
Blaz Kristan
bd025309fb Custom palette name bugfix. 2022-10-04 22:10:20 +02:00
Frank
7d5ce994ab WLED_DEBUG: fix for crash after LittleFS formating
This fixes a "division by zero" in WLED_DEBUG code.

LittleFS init seems to take some time, so we can arrive at "Loops/sec" with 0 loops executed --> crash.
2022-10-04 13:50:01 +02:00
ingDIY
edbb96bcd9 Update const.h
added #if case to exclude warning in case of ABL=0
2022-10-03 19:34:52 +02:00
ingDIY
1880740561 Update wled.h
reverted back settings to enable Alexa, Blynk, Huesync, IR.
The user shuld #define -D in platformio_override.ini to disable them
2022-10-03 19:17:28 +02:00
ingDIY
503835d47e submitting PR
Here they are the PR #2776, #2803 and #2804 rebased for 0_14 branch,
I hope that now they are OK!
2022-10-02 23:23:24 +02:00
Blaz Kristan
8d372bee67 Merge branch '0_14' of https://github.com/aircoookie/WLED into merge-0_14 2022-09-29 15:53:51 +02:00
Blaž Kristan
f385af595a Add setMode() and setPalette() methods
- automatically start transition
Implement load FX defaults for HTTP API (FXD)
2022-09-29 12:49:12 +02:00
Blaz Kristan
4cd6bafc15 Merge branch '0_14' of https://github.com/aircoookie/WLED into merge-0_14 2022-09-27 18:34:03 +02:00
Blaz Kristan
dc700c41fb Invalid FX bugfix. 2022-09-26 21:26:00 +02:00
ChuckMash
7cd9e8860d
Update wled_serial.cpp (#2667)
Add Continuous Serial Streaming feature to wled_serial.

Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2022-09-26 10:08:31 +02:00
Blaz Kristan
c253464b2a PinManager::isPinOk() rewrite
Button pullup/pulldown fix for ESP32.
2022-09-24 12:25:06 +02:00
Blaz Kristan
6306cfff96 Remove Octal SPI pins.
Whitespace.
2022-09-24 12:16:53 +02:00
Blaz Kristan
d86d88c7b7 New isPinOk() 2022-09-23 14:35:17 +02:00
Christian Schwinne
5f606bb0b7
DMX improvements (merge #2619) (#2794)
* Art-Net improvements

* Fix brightness level

* Update cfg.cpp

Co-authored-by: 4lloyd <github@lloydpost.nl>
2022-09-23 01:02:49 +02:00
4lloyd
d0189b0719
Add ArtPoll support (#2615)
* Add ArtPoll support

* Improved calculations

* Add support for legacy DMX start address 0

* Small efficiency improvement

* ESP8266 doesn't like yield

* Optimized ArtPoll memory use

Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2022-09-22 20:34:46 +02:00
Blaz Kristan
222b92807e Percent FX use % as index in palette.
FX Checkmark bugfix.
2022-09-21 21:09:52 +02:00
Blaz Kristan
de90e5b753 Percent FX use % as index in palette.
FX Checkmark bugfix.
2022-09-21 21:09:01 +02:00
Blaz Kristan
81b4a35076 Corrrect version info.
AC CSS
2022-09-20 22:06:37 +02:00
Blaz Kristan
fc0dc4472b Merge branch 'esp32-s2' into dev 2022-09-20 21:52:40 +02:00
Blaz Kristan
7824f9ee63 Remove sync preset loading (ugly core check)
WS buffer check for ESP32-S2
Delay for Serial init on CDC USB
2022-09-20 21:17:44 +02:00
Frank
6f8deb83e3 some relaxations for S2 and C3
- AR: changed "error" into warning.
- reducing max_busses (for AR) not needed on S2
2022-09-17 22:00:33 +02:00
Frank
da02a68e60 allocatePin() debug message when Pin is not OK.
This debug message should help to understand GPIO config problems.
2022-09-17 20:42:34 +02:00
Frank
a01f3e4efd presets: disable "crude hack" on single core
This code in handlepresets() does not make much sense.
Especially it does not make any sense on single core MCU's.
2022-09-17 13:41:27 +02:00
Blaz Kristan
cce54f3bb7 Loading cfg.json without wsec.json
Bugfix for BudOnOff.
2022-09-16 23:19:53 +02:00
Frank
023c259034 show version of arduino-esp32 in WLED_DEBUG 2022-09-16 16:37:07 +02:00
Blaz Kristan
4d939cb778 Merge branch '0_14' of https://github.com/aircoookie/WLED into dev 2022-09-16 15:34:17 +02:00
Blaž Kristan
660a809ec8 Missing isActive() 2022-09-16 14:07:44 +02:00
Blaž Kristan
26825ed60f Missing isActive() 2022-09-16 14:07:04 +02:00
Blaz Kristan
799d4f9465 Playlist load bugfix.
serializeConfig() in loop() (prevent crash/hang in web server callback)
2022-09-14 22:28:06 +02:00
Blaz Kristan
47797bcf4a Playlist loading bugfix. 2022-09-14 20:13:03 +02:00
Blaz Kristan
8402de601f More fixes for GPIOs.
UI fixes.
2022-09-13 21:41:51 +02:00
Blaz Kristan
4dec75c589 Remove constraints when saving interface pins. 2022-09-13 20:26:45 +02:00
Blaz Kristan
ac15b227da isPinOk() for S2 & C3 2022-09-13 19:50:13 +02:00
Blaz Kristan
a1dc7a52e9 Merge branch '0_14' of https://github.com/aircoookie/WLED into dev 2022-09-12 22:39:00 +02:00
Blaz Kristan
6ba3e25d33 Meteor palette bugfix.
Fire2012 cooling adjustment.
Akemi optimisation.
2022-09-12 22:33:30 +02:00
Blaz Kristan
51a2fa47c9 Meteor palette fix.
Akemi optimisation.
Fire2012 remove cooling adjustment.
2022-09-12 22:31:55 +02:00
Blaz Kristan
09bd6dba84 ESP32 GPIO 37 & 38 removed from reserved list. 2022-09-12 21:15:19 +02:00
Frank
382bf1e94c reserved Pins for S3
- adding USB-OTG to reserved GPIO
- no read-only GPI
- if PSRAM found, add pins for "octal" PSRAM to unusable list (octal PSRAM seems to common on S3)
- ESP32: 37 and 38 are read-only
2022-09-11 13:17:08 +02:00
Frank
575a7531c5 another "TX"
changed in hardwareTX
2022-09-11 01:01:27 +02:00
Frank
dce0c0b47e npm run build
regenerate html files
2022-09-11 00:24:35 +02:00
Frank
dc8230bf2e arch = ESP.getChipModel()
rely on ESP.getChipModel() for new MCUs-
2022-09-11 00:19:32 +02:00
Frank
17428d58d9 extend input ranges to 48 pins
this only extends the range of possible inputs. Sanity check will be performed regardless of the max value.
2022-09-11 00:18:33 +02:00
Frank
6771bd84c6 introduce hardwareTX / hardwareRX
RX/TX is not defined on all boards.
Fall-back to previous behavior on "classic" ESP32 and 8266.
2022-09-11 00:16:48 +02:00
Frank
56f2513aba Basic support for -S3
- bus_wrapper: currently no support for I2S methods
- pin_manager: different number of PWM channels, different isPinOk()
2022-09-11 00:09:59 +02:00
Blaz Kristan
9858a009da Max GPIO fos I2C/SPI pins. 2022-09-10 21:58:51 +02:00
Blaz Kristan
73b818cf78 Fix for S3 pins. 2022-09-10 20:19:13 +02:00
Blaz Kristan
4f8ffaee5b S2, S3 & C3 support for settings. 2022-09-10 19:27:00 +02:00
Blaz Kristan
2cd40c7552 ESP32-S2 support. 2022-09-09 23:21:47 +02:00
Blaz Kristan
c9fd69ceb7 Preset loading tuning.
Multi-relay toggle support.
Fire2012 tuning.
2D functions tuning.
Global SPI comments & tuning.
Bugfix in 4LD usermod.
2022-09-09 17:21:13 +02:00
Blaz Kristan
e4fbf70568 Preset loading tuning.
Multi-relay toggle support.
Fire2012 tuning.
2D functions tuning.
Global SPI comments & tuning.
Bugfix in 4LD usermod.
On & bri support fix.
2022-09-09 17:16:52 +02:00
Blaz Kristan
4480abc646 Better palette blends. 2022-09-06 21:47:50 +02:00
Blaz Kristan
94243ac605 Better palette blending. 2022-09-06 21:44:11 +02:00
Blaz Kristan
8e03395b53 New segment bugfix. 2022-09-06 15:47:41 +02:00
Blaz Kristan
4f3de8646a Additional fix for transpose checkbox. 2022-09-06 15:44:41 +02:00
cschwinne
6802f5a802 Fix several small bugs
Fixed no new 2D segments creatable in UI
Fixed brightness not applied if `"on":true` present in the same JSON api call
Fixed CJK text upside down in namelabel (rotate to nicer direction only if no CJK characters)
Gamma correction color enabled by default
2022-09-06 03:06:00 +02:00
Blaz Kristan
3a1ddce13f Return of Supāku. 2022-09-05 19:56:55 +02:00
Blaž Kristan
6c18857109 Fix build. 2022-09-05 19:01:58 +02:00
Blaž Kristan
508b1e76c2 Merge conflict fix. 2022-09-05 18:36:10 +02:00
Blaž Kristan
51d3268eed Merge branch 'dev' of https://github.com/blazoncek/WLED into 0_14
- remove conditional audio compile
- Random Cycle bugfix
- AudioReactive updates
- global gamma flags
2022-09-05 15:13:15 +02:00
cschwinne
a0c90d4ba3 Disable unused characters in fonts
saves 5kB flash
Added 4x6 font
2022-09-05 03:18:59 +02:00
Blaz Kristan
2c27240da6 Remove DISABLE_AUDIO 2022-09-05 00:43:26 +02:00
Blaz Kristan
787f5f06df Global gamma.
Randomcycle palette bugfix.
2022-09-04 20:17:05 +02:00
Blaz Kristan
42d1ab8a87 Separator in Info dialog. 2022-09-03 00:01:11 +02:00
Blaz Kristan
cf51892782 Merge branch 'audioreactive-prototype' into dev 2022-09-02 23:36:44 +02:00
Blaz Kristan
3287eef0f1 Fixed cooling of ignition area. 2022-09-02 23:27:54 +02:00
Blaz Kristan
c4a261f2d2 Minor tweaks. 2022-09-02 21:21:53 +02:00
Ewowi
1867db3c4b VirtualStrip: use indexToVStrip 2022-09-02 20:52:20 +02:00
Ewowi
9e23d52193 Popcorn to virtualStrip 2022-09-02 18:30:23 +02:00
Ewowi
e29be737f7 Drip to virtualstrip correction 2022-09-02 18:14:28 +02:00
Ewowi
3ac4122ec8 fire_2012 to virtualStrip 2022-09-02 17:55:08 +02:00
Ewowi
d56a79e016 Drip to virtualStrip 2022-09-02 17:42:47 +02:00
cschwinne
3270605b4f DDP network bus RGBW support 2022-09-02 03:12:03 +02:00
Blaz Kristan
36e10539e0 Merge branch 'dev' into audioreactive-prototype 2022-09-01 22:20:39 +02:00
Frank
37ba649930 audioreactive effect improvements
- Info Page: add a small horizontal line below usermod specific part. Improves readability.
- updated 2D mapping mode of some  1D soundreactive effects
- alllow some effects to fade slowly, even slower that possible with SEGMENT.fade_out(). Looks nice.

not sure why - most effects only fade when using SEGMENT.fade_out(), while some need SEGMENT.fadeToBlackBy().
2022-09-01 14:56:01 +02:00
Blaz Kristan
586e72e797 Remove pxs/NONUNITY option
Constrains for bitfields.
Bugfixes.
2022-08-31 21:31:59 +02:00
Blaz Kristan
38bd0d6bbb Bugfixes 2022-08-31 21:21:53 +02:00
Blaž Kristan
da0da4c75e Remove NONUNITY
Expand soundSim
Tetrix optimisation
2022-08-31 14:24:02 +02:00
Blaž Kristan
bfe16bb254 Merge branch '0_14' of https://github.com/Aircoookie/WLED into dev 2022-08-31 08:02:11 +02:00
cschwinne
2ada88a266 Small improvements to fx data extraction functions
- Un-F() most segment JSON keys, decreases JSON doc usage by 47 B (increases static RAM usage by 32 B),
makes `extractModeDefaults` work without strstr_P
- Removed String from serializeModeData and serializeModeNames
- Set 0.14 version name "Hoshi"
2022-08-31 04:31:56 +02:00
cschwinne
5b51ce9840 extractModeDefaults(): C strings instead of String 2022-08-31 02:26:26 +02:00
Blaz Kristan
26793c8428 Merge branch 'dev' into audioreactive-prototype 2022-08-30 20:13:25 +02:00
Blaz Kristan
8719adef1e Tetrix vStrip 2D modification.
AA version of Bouncing balls
Better AA
2022-08-30 17:20:58 +02:00
Blaz Kristan
cd7bcb79e5 Tetrix vStrip 2D modification.
AA version of Bouncing balls
Better AA
2022-08-30 17:18:56 +02:00
Blaz Kristan
005419ab9a vStrip calculation
remove Segment copy constructor
2022-08-29 21:51:46 +02:00
Blaz Kristan
d28d2c57e4 Merge 'blazoncek/dev' into 0_14
1-click presets
Bugfix for 1D
virtual strips POC for 1D effects
global SPI MISO pin
2022-08-29 20:45:06 +02:00
Frank
6019b7bda4 GEQ: use full frequency range
also when user wants less than 16 bands.
Previously when users selected fewer bands (like 4 instead of 16), only the lowest freq channels were displayed.
2022-08-28 13:33:48 +02:00
Blaz Kristan
c6126db2a2 Bugfix for 1D setPixelColor
Float vStrips.
Fix misspelled MISOSPI.
2022-08-27 18:25:54 +02:00
Blaz Kristan
030833f942 Global MISO pin.
Virtual strip expansion for 2D.
2022-08-25 21:57:43 +02:00
Blaz Kristan
daf67d9cf7 Whitespace cleanup.
Revert legacy effects to 1D and use mapping instead.
2022-08-24 23:04:51 +02:00