Commit Graph

3109 Commits

Author SHA1 Message Date
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
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
Blaz Kristan
113ee73609 Newer AsyncWebServer. 2022-10-06 18:25:19 +02:00
Blaž Kristan
b4e3cccf4b Remove testing entry. 2022-10-06 12:22:02 +02:00
Blaž Kristan
6a3ef2a2e4
Merge pull request #2809 from ingDIY/0_14
defines improvement
2022-10-06 12:15:30 +02:00
Blaž Kristan
1dd00c2ea9
Merge pull request #2814 from srg74/patch-2
Update usermod_PWM_fan.h
2022-10-05 21:40:08 +02:00
srg74
5038e4396e
Update usermod_PWM_fan.h
Changed values for proper work.
2022-10-05 15:30:09 -04:00
Blaz Kristan
bd025309fb Custom palette name bugfix. 2022-10-04 22:10:20 +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
bdb1e839ed Update readme.md
added description about the configuration of setting:
-D USERMOD_ROTARY_ENCODER_GPIO
2022-10-03 19:22: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
Stefan Riese
b6adbc926f
Usermod wordclock: support for upfront LEDs (#2668)
* - add ledOffset to support LEDs that are not effected by the usermode before the wordclock LEDs

* - adjust readme
2022-09-26 09:35:42 +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
Blaž Kristan
ad4870a59b PIO environment for ESP32-S3 2022-09-21 08:47:52 +02:00
Blaz Kristan
9a6c387b8e Added Lolin S2 mini dev board environment. 2022-09-20 22:14:18 +02:00
Blaz Kristan
81b4a35076 Corrrect version info.
AC CSS
2022-09-20 22:06:37 +02:00
Blaz Kristan
411b3d0888 Merge branch 'dev' of https://github.com/blazoncek/WLED into merge-dev 2022-09-20 21:53:59 +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
fb00bef05f AR - necessary constants for 166Khz sampling rate
16kHz might be a good compromise on small MCU's:
- GEQ will show frequencies up to ~6Khz
- FFT process may use up to 32millis (-> 100% CPU load). Try to stay below <60% so FreeRTOS can schedule all tasks properly.

- more CPU time is left for other WLED, so it maintains LED FPS and stays responsive on web UI.
2022-09-20 18:29:27 +02:00
Frank
d7bc6b1be7 AR: optimization for small MCUs, part2
Only run FFT when the result will be used.
Please note that this also means that `FFTTime` shown in Info is only meaningful when there is sound input and not silence.

--> To get exact FFT times, the optimization can be disabled by compiling with `-D SR_DEBUG`
2022-09-19 14:09:45 +02:00
Frank
79776ae8bc AR: optimization for smaller MCUs
- this reduces "lagging behind" of I2S sampling on smaller MCU's. The maximum time for FFT is now ~20 millis.
- small improvement for SR_DEBUG
2022-09-19 13:38:52 +02:00
Frank
90b3f009af AR: small improvement for ADC analog mics
ensure that ADC parameters are properly configured.
2022-09-19 13:30:13 +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
85fc8710dd mics that need MCLK should work 2022-09-17 20:39:23 +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
Blaz Kristan
92037a480d Bugfix for BusOnOff 2022-09-16 23:12:57 +02:00
Blaz Kristan
cf6005ce2f Fix for loading config without wsec.json 2022-09-16 22:00:26 +02:00
Frank
a766ddbebc make I2S microphones work with buggy IDF4.4.x
I2S microphones were not working any more in with the newest framework - only delivers silence.
Ther reason is stupid bug in espressif I2S "compatibility" driver: RIGHT and LEFT channel are swapped, so when only asking for LEFT, we get silence from RIGHT.

Workaround: simply change LEFT to RIGHT, until the problem is fixed in ESP-IDF --> Fix tested on "classic ESP32", but still need to check behavior on -S3.
Code compiles also on -S3, -S2, and -C3.

smaller changes:
- a few changes to use new APIs (MCLK, rouing and sample resolution)
- a few additional debug messages
- put correct value into _pinConfig.mck_io_num
2022-09-16 16:58:04 +02:00
Frank
01acb08c83 minor fix (typo) 2022-09-16 16:38:24 +02:00
Frank
023c259034 show version of arduino-esp32 in WLED_DEBUG 2022-09-16 16:37:07 +02:00
Blaz Kristan
dfe4d70198 Merge branch 'audioreactive-prototype' into esp32-s2 2022-09-16 15:38:44 +02:00