mxklb
115c17ab90
Corrected wrong comments
2023-01-16 17:30:55 +01:00
mx
d892c7290c
Merge branch 'Aircoookie:main' into pr_fxsegs
2023-01-16 17:28:44 +01:00
Ewoud
10f006ef18
Small changes on pin dropdowns / usermod help
...
platformio.ini: add wemos_shield_esp32_4MB_all_base
usermods:
- rename disableROPins to disableRO
- bme280: add appendConfigData, info and disableRO
- PWM Fan: add appendConfigData
Settings_um.htm
- add 🟢
2023-01-16 15:07:41 +01:00
Frank
d87e6a6dcd
npm run build
...
yo-man
2023-01-15 23:09:04 +01:00
Frank
a320068bbe
I2C: allow any GPIO on 8266 (experimental)
...
as it turns out, also on 8266 any pin can be assigned to I2C. Only SPI pins are fixed, and GPIO16 should not be used as it does not support interrupts.
2023-01-15 22:13:46 +01:00
Ewoud
12cd6a2738
Quickfix to let esp32_16MB_PSRAM compile: move um to _all
...
Moved from _max to _all:
-D USERMOD_BATTERY ;; enable Battery usermod
-D USERMOD_BATTERY_USE_LIPO ;; use new "decharging curve" for LiPo cells
-D USERMOD_BH1750
-D USERMOD_ANIMATED_STAIRCASE
2023-01-15 18:31:01 +01:00
Ewoud
a31b45d05e
Merge remote-tracking branch 'upstream/main' into mdev
2023-01-15 17:19:44 +01:00
Ewoud
474243938c
Hardware pin defaults in i2c and spi pin dropdowns
...
bugfix: replace oappend(SET_F(name)); by oappend(_name);
const.h: remove unset of 8266 variables as no behind the scene actions, this is just bad behavior and the pin drop downs will show this bad behavior
xml.cpp: show hardware defaults as ⍼ in dropdowns (better icon needed)
2023-01-15 17:08:39 +01:00
Blaz Kristan
63d8a902d5
Loading defaults on "fxdef".
2023-01-15 15:21:39 +01:00
Blaz Kristan
43152fcf19
Bugfix.
...
- d.max_gpio in usermod settings.
2023-01-15 15:19:48 +01:00
Frank
6ad22e16c0
bugfix for -C3 buildenv
...
* ARDUINO_USB_CDC_ON_BOOT must be either 0 or 1 - I should read my own instruction ;-)
* minor cleanup
2023-01-15 03:07:18 +01:00
Frank
6adab4fe91
small update
2023-01-14 23:37:18 +01:00
Frank
e0bf199109
new buildenv for -C3 with 4MB flash (experimental)
...
[env:esp32c3dev_4MB_max]
2023-01-14 22:48:23 +01:00
Frank
880afdf877
stability improvement for CDC Serial
2023-01-14 22:42:42 +01:00
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
Blaz Kristan
1f135f1fa5
"i" start index bugfix #3024
2023-01-14 16:01:46 +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
d78bef72ea
Disable MQTT more.
...
Disable Alexa more.
2023-01-12 20:35:34 +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