Commit Graph

3747 Commits

Author SHA1 Message Date
Ewoud
06e9beda5a pin drop down bug fix 2023-01-14 18:40:36 +01:00
Ewoud
c3cc9d9803 Fixed esp8266 compile error and set version date 2023-01-14 17:45:57 +01:00
Ewoud
90c0870e74 pinDropDown: make reserved and read only aware and disable if needed
AudioReactive: add disableROPins on WS, SCK, MCLK and SCL
4LD:  add disableROPins  on CLK

settingsum: 
- addfield: max 49 pins, if (global interface) also disabled, rename if to global, show 🔴 if pin claimed
- add disableROPins
- pinDropdownsPost
- rename SDA to if:SDA (etc) so it is part of claimed pins (also in set.cpp and xml.cpp)

xml.cpp:
- appendGPIOinfo(): get rsvd and ro_gpio from pinManager.isPinOk instead of hardcoded
- getSettingsJS: add pinDropdownsPost
2023-01-14 17:30:43 +01:00
Ewoud
b289b63f13 Merge remote-tracking branch 'upstream/main' into mdev 2023-01-13 11:40:20 +01:00
Blaz Kristan
c71d378eab New FX Distortion Waves
Updated FX Lissajous
2023-01-12 21:58:54 +01:00
Blaz Kristan
6fa5689aaf Bugfix.
- segment off
2023-01-12 20:36:50 +01:00
Blaz Kristan
e410de9552 Bugfix.
- fadePixelColorXY()
- clearing 2D segment on mirror or reverse change
- FX update (DNA Spiral, Colored bursts)
2023-01-12 19:13:07 +01:00
Ewoud
91aed65f99 Generate presets !
Fix 1d/2d default in customeffect, games and weather

index.htm: add buttons and text area for genPresets

index.js: add genPresets, uploadFileWithText and savePresetsGen

fx,cpp: set fire 2012 default palette 0 (fire colors)

Bonus: battery USERMOD_BATTERY_MEASUREMENT_PIN default -1
2023-01-12 17:32:11 +01:00
Ewoud
6cc62c59ad Merge remote-tracking branch 'upstream/main' into mdev
- removed !isM checks on ledmap cause supported in WLED MM
2023-01-12 09:27:20 +01:00
Blaz Kristan
8dc262b415 Bugfixes.
- faster random palette blends
- remove UI ledmap selection for 2D
- FX updates (DNA Spiral, Colored bursts, Metaballs)
2023-01-11 23:08:08 +01:00
Frank
1e8fcfb0aa I2C pin settings bugfix (8266)
* It was not possible any more to set I2C pins back to "-1", to disable I2C.
This fixes the problem.
* HW_PIN_SDA / HW_PIN_SCL may contain "-1" --> use PIN numbers directly on 8266 (I2C pins cannot be changed any way on 8266)
2023-01-11 22:26:35 +01:00
Ewoud
49bb9be12c Minor change: not set I2C pins for all MM configs, only on Wemos shields 2023-01-11 18:17:38 +01:00
Ewoud
9944f8dc72 global I2C and SPI pins and mpu6050 interrupt pin default to -1
As can otherwise cause conflicts, must be set in platformio explicitly to the right values

Set in platform io for _max configs
2023-01-11 17:32:19 +01:00
Ewoud
037d7ce456 bugfix game of life on 8266 2023-01-11 17:05:26 +01:00
Ewoud
18851c31f8 Game of life back to 0.13 style !
To avoid eternal cycles of spacehips and gliders etc
Works on esp8266 too
2023-01-11 16:59:15 +01:00
Frank
9b3e419281 small fix
compiler complained that it cannot find the right "abs()" implementation. So let's help 'em.
2023-01-11 15:40:23 +01:00
Frank
6cd6817cb5 always print out basic chip info at startup
because I like it.
2023-01-11 15:25:22 +01:00
Frank
b87d50fce4 new environment for "d1 mini pro" ESP8266
D1 mini pro": ESP8266EX, 160MHz, 80KB RAM, 16MB Flash
2023-01-11 14:21:34 +01:00
Frank
94032af61d ESP8266 hardware info
* basic HW info, similar to ESP32
* minor stability improvement for 8266
2023-01-11 13:58:21 +01:00
Abhi Gulati
7fa494815f Fix a typo (#3014) 2023-01-11 11:21:45 +01:00
Frank
1406d2546b post-merge
merging upstream changes to esp32c3 with our own version for -C3
2023-01-10 22:18:19 +01:00
Ewoud
437bfc825c Merge remote-tracking branch 'upstream/main' into mdev 2023-01-10 15:39:17 +01:00
Blaž Kristan
929bb70e5a Merge pull request #3012 from spdustin/fix-tooltip-pointer-events
Fixes tooltip interfering with pointer events
2023-01-10 06:11:53 +01:00
Dustin Miller
36fb262fa0 Fixes tooltip interfering with pointer events 2023-01-09 18:38:00 -06:00
Ewoud
bba57d4771 Remove I2CSCL/SDA/SCLK/MOSI/MISOPIN rename *_DATASPI to *_MOSISPI
use HW_PIN_* instead
2023-01-09 17:41:52 +01:00
Frank
b8cc783583 pio: minor update for -C3
adding optional platform version that seems to help in some special cases.
2023-01-09 13:20:02 +01:00
Blaž Kristan
67b3d383e4 Minor fix for (obsolete) Solid Glitter 2023-01-09 13:17:08 +01:00
Frank
533ea2dad7 small fix (WLED_DEBUG) 2023-01-09 12:20:33 +01:00
Frank
9144ccac6b Merge pull request #3006 from Aircoookie/fx-update
FX updates, 2nd try.
2023-01-08 23:44:42 +01:00
Blaz Kristan
04020d5ae2 Universal glitter. 2023-01-08 21:58:55 +01:00
Frank
fb575bf8a7 remove stupid compiler warning 2023-01-08 21:15:12 +01:00
Frank
39ad4955b7 Adjust some usermods to use global I2C
* usermods only need to to `if (!pinManager.joinWire()) return;`

* joinWire will
* * check if global I2C are defined - return false if not defined
* * aloocate HW_I2C pins - return false on error
* * call Wire.begin() if needed.
2023-01-08 21:11:50 +01:00
Frank
edb6bfc2f9 small fix for 8266 2023-01-08 19:25:26 +01:00
Frank
b29ff1186b best of I2CSPI-refactor
* cherry-picking my additions to pinmanger
* toDo: replace Wire.begin() with pinManager.joinWire()
2023-01-08 19:09:30 +01:00
Ewoud
a10f1b20ac Add _all entries for esp32 16MB with lots of usermods
platformio: add _all entries with a lot of usermods
usermod bh1750 and bme280: avoid global pin hijacking
settings.htm: remove height for compact display
2023-01-08 16:07:02 +01:00
Ewoud
544446d35e Further pin improvements
platformio
- create _all entries (wip)
- set FLD_PIN_SCL to -1 (use global)

4ld
- one bug fix and errorMessage improvements

const.h
- comments

wled.h
- do not use the I2CSDAPIN vars but HW_PIN_SDA instead
2023-01-08 13:51:27 +01:00
Ewoud
ed815beabf Fix compilation of esp32S3_8MB_max and esp32s2_tinyUF2_PSRAM_max
Using lib_deps_V4_max entry
2023-01-08 11:27:29 +01:00
Ewoud
bfa06df47c Tiny changes
0.14.0-b1.14 - 2301080
2023-01-08 10:52:22 +01:00
Ewoud
b8437c51c5 Do not reset pins if error but show error (wip, bh1750, fld, global)
Usermod bh1750: only save pins if not equal to global
Usermod fld: add errorMessage, do not reset type and enabled but errormessage instead, show global depending in spi or i2c
cfg.cpp and set.cpp: do not reset global i2c or spi if error
2023-01-07 16:49:10 +01:00
Ewoud
ab22beb0c3 Minor changes 2023-01-07 15:10:21 +01:00
Ewoud
2187aa5728 implement addHB (Usermod help button utility function)
See https://github.com/Aircoookie/WLED/pull/2965
2023-01-07 12:22:29 +01:00
Ewoud
66b15d32d9 Merge remote-tracking branch 'upstream/main' into mdev 2023-01-07 12:01:03 +01:00
Blaž Kristan
de4f1d09af Merge pull request #3005 from Aircoookie/whitespace 2023-01-07 08:13:17 +01:00
Blaz Kristan
27d7f5f190 Fixes.
Prevent flickering if segment off.
2023-01-06 18:11:52 +01:00
Blaz Kristan
c43c4c42c8 Renamed No Bg to Overlay 2023-01-06 17:23:24 +01:00
Blaž Kristan
613283f656 typo fix 2023-01-06 09:44:26 +01:00
Blaž Kristan
506b6b51ce whitespace cleanup 2023-01-06 09:24:29 +01:00
Blaž Kristan
c7eccfb714 FX updates:
- Ripple (2D & no Bg)
- Glitter (no Bg)
- Sparkle (no Bg)
- Scan (no Bg)
- Two dots (no Bg)
- ICU (no Bg)
- Lightning (no Bg)
- Halloween eyes (no Bg)
- Spots (no Bg)
- Bouncing Balls (no BG)
- Popcorn (no Bg)
- Starburst (no Bg)
- Drip (no Bg)
- Whitespace cleanup
- draw_circle()

"no Bg" will allow overlapping segments if checked.
2023-01-06 09:10:39 +01:00
Blaz Kristan
98be19b29f Fix switching off for PIR usermod. 2023-01-05 22:46:30 +01:00
Ewoud
da590bac7e Add animated staircase to _max environments, add ? btn to Bat,temp,Asave 2023-01-05 17:40:13 +01:00