Commit Graph

3240 Commits

Author SHA1 Message Date
Frank
fc9d7f54d8 Merge remote-tracking branch 'origin/audio-reactive' into mdev 2022-10-06 18:26:06 +02:00
Frank
f5b74a2b79 Merge remote-tracking branch 'origin/audioreactive-prototype' into audio-reactive 2022-10-06 18:22:58 +02:00
Frank
64441b39ac critical bugfix
it's possible that volume samples become negative. In this scenario, our simple noise gate does stupid things, and it looks like "effects temporarily lost the sound".
This fix improves the situation, and makes sure that volume samples are always >= 0.
2022-10-06 15:39:28 +02:00
Frank
c497c6345d Merge remote-tracking branch 'origin/audio-reactive' into mdev 2022-10-05 17:58:48 +02:00
Frank
5ed0bb8c2b Microphone calibration profiles 2022-10-05 17:55:54 +02:00
Frank
698a6c8f89 Merge remote-tracking branch 'origin/audioreactive-prototype' into audio-reactive 2022-10-04 16:20:40 +02:00
Frank
1ae0dd574d fix for ADC analog
the "wait until I2S buffer fills" trick does not work for ADC sources, as the I2S sampling does not run in background for ADC.
2022-10-04 16:00:36 +02:00
Frank
b404ae1fe4 Merge remote-tracking branch 'origin/small-changes' into mdev 2022-10-04 14:42:59 +02:00
Frank
85e56a6678 Add support for building for 16MB "TwilightLord" ESP32
- board definition
- minimal changes to esp32mdevums (un-comment to use)
2022-10-04 14:35:54 +02:00
Frank
c00910e100 Merge remote-tracking branch 'origin/audioreactive-prototype' into audio-reactive 2022-10-04 14:00:53 +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
Frank
78e0c3dcca make MIC_LOGGER work again
- EVERY_N_MILLIS somehow does not work. Replaced it,
- make sure that WLED_DEBUG does not report "fake FFT times" whrn FFT code was not running
2022-10-04 13:47:07 +02:00
Frank
e093d2c8ba Merge remote-tracking branch 'origin/mdev_new-FrameWork4' into mdev 2022-10-04 11:21:39 +02:00
Frank
6447d5f6bb update for "classic" ESP32
`-D ARDUINO_USB_CDC_ON_BOOT=0` is needed for "classic" ESP32, to avoid crash+bootloop at startup.
2022-10-04 11:17:33 +02:00
Ewowi
ecb8e8f6dd Merge branch 'json-mapping' into mdev 2022-10-01 12:17:11 +02:00
Ewowi
6aa189fb65 Merge remote-tracking branch 'origin/dev' into mdev 2022-10-01 12:05:49 +02:00
Ewowi
1912bfe917 Refactor class JMapC
- Add XandY struct
- Add ArrayAndSize struct
- to be used in jVectorMap (instead of jMapDoc) :Smaller footprint!!
- introduce docChunk to parse with ArduinoJson in chuncks (smaller size!)
2022-10-01 12:03:57 +02:00
Frank
82b1e5c09d GEQ: more dynamics
work in progress.
This brings some more dynamics into GEQ, without causing flickering.
-> Try with Dynamcs Fall =  300ms.
2022-09-30 22:57:21 +02:00
Frank
d0278ddc83 tiny change
komma
2022-09-30 21:59:58 +02:00
Frank
a861059553 Merge remote-tracking branch 'origin/dev' into audio-reactive 2022-09-30 21:58:14 +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
Ewowi
fea487c950 Merge branch 'games-usermod' into mdev 2022-09-27 15:31:11 +02:00
Ewowi
9414f531dd IMO support in usermod games, add 3D IMO cube effect
- platformio: add USERMOD_MPU6050_IMU and ElectronicCats/MPU6050 @ 0.6.0 to esp32mdevums
- USERMOD_MPU6050_IMU: update readme.md and usermod_mpu650_imu.h
- usermod_v2_games: support for  USERMOD_MPU6050_IMU, add mode_IMUTest and class Frame3D and mode_3DIMUCube, remove old gyro handling
- usermods_list.cpp: add USERMOD_MPU6050_IMU
2022-09-27 15:19:58 +02:00
Ewowi
cd3fa2464a Merge remote-tracking branch 'origin/dev' into mdev 2022-09-27 14:59:57 +02:00
Frank
859dbd5b23 small fix for compiling with IDF v4.4.x
LITTLEFS -> WLED_FS
2022-09-27 12:54:24 +02:00
Blaz Kristan
dc700c41fb Invalid FX bugfix. 2022-09-26 21:26:00 +02:00
Frank
fd33d56c67 Merge remote-tracking branch 'origin/small-changes' into mdev 2022-09-26 16:28:49 +02:00
Frank
6acd3c765f bugfix and explainations of compile flags
- bug:  -D UWLED_USE_MY_CONFIG was an 'accident' - should be either '-D  WLED_USE_MY_CONFIG' or '-U  WLED_USE_MY_CONFIG'
2022-09-26 16:28:00 +02:00
Frank
b5d7a985d4 Merge remote-tracking branch 'origin/small-changes' into mdev 2022-09-26 15:56:24 +02:00
Frank
5c482afded small fix for compiling with framework V4.4.x
don't re-define ARDUINO_RUNNING_CORE if already defined by the framework.
2022-09-26 15:55:44 +02:00
Frank
31d022f26b Merge remote-tracking branch 'origin/mdev_new-FrameWork4' into mdev 2022-09-26 15:06:33 +02:00
Frank
2e634c20fa update
- ESPAsyncWebServer 2.0.6 (fixes crashes)
- added platformV4 and platformV4_packages
- all new MCUs use same platform
2022-09-26 14:50:31 +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
Ewowi
e19f3a0d30 Merge branch 'weather-usermod' into mdev 2022-09-23 17:41:20 +02:00
Ewowi
af3e250f76 Weather usermod: wait on connection, check location, apikey, json filter
- add isConnected
- checks on location and apiKey
- add arduinoJson filter to reduce size
2022-09-23 17:40:41 +02:00
Blaz Kristan
d86d88c7b7 New isPinOk() 2022-09-23 14:35:17 +02:00
Ewowi
47b6ccf1a7 Merge branch 'small-changes' into mdev 2022-09-23 13:03:14 +02:00
Ewowi
af557a864e Merge branch 'games-usermod' into mdev 2022-09-23 13:03:07 +02:00
Ewowi
ab3c07a2a8 Merge branch 'dev' into mdev 2022-09-23 13:02:51 +02:00
Ewowi
0ed6f52c8c platformio.ini: update esp32mdevums
- use https://github.com/softhack007/LITTLEFS-threadsafe.git#master
- refactor esp32mdevums: add comments (to be augmented as still questions)
2022-09-23 13:00:45 +02:00
Ewowi
471ccf946b Games usermod: MPU-6050 working on esp32-s2 branch
- allocateMultiplePins
- isUpdating: be nice, but not too nice (to do: should be used in all usermods! => new function isUpdatingBeNice)
2022-09-23 12:50:11 +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
Ewowi
e9a74a0889 Merge remote-tracking branch 'origin/dev' into games-usermod 2022-09-22 16:22:34 +02:00
Blaz Kristan
222b92807e Percent FX use % as index in palette.
FX Checkmark bugfix.
2022-09-21 21:09:52 +02:00