Frank
7da9319ae6
Merge remote-tracking branch 'origin/ac_main' into mdev
2023-01-05 12:33:45 +01:00
Frank
35832b07b9
UM Battery: basic support for LiPo cells
...
* Lipo cells (1S) should not be discharged below 3V
* LiPo cells have a different voltage/discharge rate curve
2023-01-04 19:57:33 +01:00
Frank
357683cbb9
UM Battery: more bugfixing, and improvements for esp32
...
- improved support for esp32 (read calibrated voltage)
- corrected config saving (measurement pin, and battery min/max were lost)
2023-01-04 17:30:08 +01:00
Ewoud
cbccd5cc4e
Merge remote-tracking branch 'upstream/main' into mdev
2023-01-04 13:28:46 +01:00
Frank
15bc6159f9
UM Battery: fix for deprecated function call
...
wled00/../usermods/Battery/usermod_v2_Battery.h:446:48: warning: 'void PinManagerClass::deallocatePin(byte)' is deprecated: Replaced by two-parameter deallocatePin(gpio, ownerTag)
2023-01-04 12:54:02 +01:00
Frank
7cdafa76a5
UM Battery - improvements for esp32
...
* added missing pinMode(.., INPUT) on esp32
* do not try reading from pin = -1 (ESP32-S2 shows very allergic reactions to this)
* Info page - show "n/a" when pin = -1
* readme: esp32 default pin = 35
2023-01-04 12:32:31 +01:00
Ewoud
3869920081
Disable setting expand1D defaults
...
As it disturbs other workflows
This is a quick fix, if upstream agrees in the future all m12= strings should be removed.
2023-01-04 12:26:57 +01:00
Ewoud
23663a46f9
Refactor global pins settings using dropdowns and add to rotary_encoder
...
- replace rOption by xOption (extend option) to show default value (⎌)
- Usermod rotary_encoder: add appendConfigData function and show help and default functions
- Settings.htm: Move Usermods(pins) below the usermods
Settings_um.htm
- remove SDAPin etc
- comment check(0,k) as not used anymore
- add xOption
- add generated global pin fields (using addField) in ldS
- remove hard coded global pin fields
set.cpp: set i2c_sda etc using new generated fields
xml.cpp: set generated fields values using i2c_sda etc and show defaults
2023-01-04 12:17:14 +01:00
cschwinne
e84b0c91f8
Update year
2023-01-03 17:36:24 +01:00
cschwinne
cecffee3d3
Merge branch 'main' of https://github.com/Aircoookie/WLED
2023-01-03 17:16:14 +01:00
cschwinne
d039a40d7c
Invert pull up config value, fixes #2996
...
Cronixie usermod format change fix
2023-01-03 17:15:55 +01:00
Blaz Kristan
90463d8613
Battery UM fix for MQTT voltage topic.
2023-01-03 17:14:24 +01:00
Blaz Kristan
90c965a6ba
Bugfix editing 2D set-up.
2023-01-03 17:12:35 +01:00
Frank
0571aa92f2
fix unitialized local var
...
Local variables are not initialized by default. Make sure that buf[] is filled with zeros.
2023-01-03 17:10:07 +01:00
Frank
e961691645
Battery, second try
2023-01-03 15:36:35 +01:00
Frank
c7f1883c31
Battery, second try
2023-01-03 15:33:05 +01:00
Frank
6270d2408f
UM Battery: fix build error on linux
...
Fixes build error on linux:
wled00/usermods_list.cpp:15:54: fatal error: ../usermods/battery/usermod_v2_battery.h: No such file or directory
compilation terminated.
2023-01-03 15:29:15 +01:00
Frank
b52776d691
Battery, not battery
...
Fixes build error:
wled00/usermods_list.cpp:15:54: fatal error: ../usermods/battery/usermod_v2_battery.h: No such file or directory
compilation terminated.
2023-01-03 15:26:38 +01:00
Frank
7ef1842237
comments updated
...
see discussion in faf616cbea
2023-01-03 15:16:45 +01:00
Ewoud
545a4c820c
quick fix 2d config hor/ver/panel issues + battery usermod
...
- Add battery usermod
- set segexp default true
- quick fix 2d config hor/ver/panel issues
2023-01-03 14:45:01 +01:00
Frank
faf616cbea
fixing a potential stack corruption
...
.. overlooked this one when reviewing the PR.
@blazoncek, @ctjet : three questions on the new code remain, because its not clear to me if its correct. Please check.
2023-01-03 14:17:42 +01:00
Ewoud
9bc6451145
appendConfigData only for usermod + optimizations
...
- rename replaceOption to rOption
- rename removeOptions to dOptions
- set oAppend buffer size back to 3096
- WLEDMM warning on settings2D Populate
- add AppendConfig per usermod
- add request parameter to getSettinsJS
- add lookupName
2023-01-03 13:08:14 +01:00
Frank
4a09e18d9a
UM Battery: fix compilation error + bad snprintf
2023-01-02 22:52:37 +01:00
Frank
7c1b655ca3
fix array-of-out-bounds writes
...
fixing two dangerous (unguarded) array writes that can cause stack corruption
2023-01-02 22:38:22 +01:00
Frank
e4789cbedd
post-merge actions
...
* fix compilation bug in UM_Battery
* fix bad format string in UM_Battery
* npm run build, build number up
2023-01-02 22:25:08 +01:00
Ewoud
3b146bbe35
0.14.0-b1.13 to 0.14.0-b1.14
2023-01-02 21:50:43 +01:00
Ewoud
86ceca5de7
Usermods: add removeOptions e.g. for pin MCLK
...
- add replaceOption to analogmic
- fix: right default for audio reactive scl
- pinmanager add case UM_Battery
2023-01-02 21:42:19 +01:00
Ewoud
49b8bf389d
Merge remote-tracking branch 'upstream/main' into mdev
2023-01-02 21:28:58 +01:00
Blaz Kristan
983aca515d
Compile fix for disabled 2D.
2023-01-02 21:24:02 +01:00
Ewoud
930d79f4e8
Merge remote-tracking branch 'upstream/main' into mdev
2023-01-02 21:23:23 +01:00
Ewoud
4409ceb3ec
Merge remote-tracking branch 'origin/ac_main' into mdev
2023-01-02 21:05:03 +01:00
Frank
eb184d3c68
build number, npm run build
2023-01-02 21:01:39 +01:00
Caleb Marting
187ecf511f
2d Mapping with Matrix Gaps ( #2892 )
...
* New 2d mapping
* panel matrix generator
* add todos, fix vert/horz swap
* Fix 2d mapping to matrix in settings 2D
* add correct index mapping to pixels per panel
* fix panel bug in led layout
* formatting and change max panels
* add per panel width and height
* fix using length instead of custom mapping size
* fix: panel dimensions location
* panel[] implemented as a vector.
Removed matrixWidth & matrixHeight.
Panel structure update.
* Fixes.
Co-authored-by: Blaz Kristan <blaz@kristan-sp.si >
2023-01-02 20:56:00 +01:00
Frank
a3c2f4a0ec
fixing UDP sound sync startup problems
...
sometimes sound sync only worked after disable + enable audioreactive. This hopefully improves the situation.
2023-01-02 20:34:13 +01:00
Frank
d02bdb8a82
UDP sound sync improvement
...
improving the new auto-reconnect mode.
Only disconnect receiver on network change, or when idle after receiving something.
2023-01-02 20:06:54 +01:00
Frank
df63ba1dcc
npm run build
...
and version up
2023-01-02 20:05:17 +01:00
Frank
40bea36f58
small update for RTC usermod
2023-01-02 18:04:27 +01:00
Frank
e85c90dc11
support for rotary without push button
...
Allows pinC = -1
2023-01-01 22:19:25 +01:00
Frank
79c1d9371f
new year, new version number
2023-01-01 21:34:12 +01:00
Frank
97989bb773
experimental support for some special boards
...
- show VBAT pin (if board definitely has that feature)
- some WROVER board have cross-connection between GPIO 25/27 and PIN 16/17
- experimental support for boards that have NEOPIXEL_I2C_POWER
2023-01-01 21:33:06 +01:00
Frank
8ef0a56dd8
usermod rotary - dont register pins if disabled
2023-01-01 21:30:21 +01:00
Frank
6716265469
audio core tuning, UDP sync stabilization
...
* FFT parameter tuning -> speedup ~50% on ESP32
* UDP sound sync - try to reconnect if idle
2023-01-01 21:29:45 +01:00
Blaž Kristan
8e208bc76d
Merge pull request #2993 from spdustin/fix-analog-clock-hours
...
fixes typo in Analog_Clock.h
2023-01-01 00:35:14 +01:00
Dustin Miller
1b4d92007e
updates strings to use F()
2022-12-31 15:24:35 -06:00
Dustin Miller
4101d7664d
fixes typo in Analog_Clock.h
...
Retrieving the config in `readFromConfig()` results in defaults being set to both `hourMarksEnabled` (`false`) and `hourMarkColor` (`#0000FF`) due to differences in capitalization compared to how they're saved in `addToConfig()`
2022-12-31 13:47:48 -06:00
Blaz Kristan
e128c3094a
Typo fix.
2022-12-31 18:58:52 +01:00
Blaz Kristan
95869eeb70
Allow more virtual buses.
2022-12-31 17:06:18 +01:00
Blaž Kristan
d977bbd61c
Merge pull request #2990 from relax81/main
...
added #DDMM & #HHMM to scrolling text
2022-12-31 14:10:51 +01:00
Leif
a16a6211e2
added #MMDD view to the scrolling text effect
2022-12-31 03:30:26 +01:00
Leif
a75013e43e
Merge remote-tracking branch 'upstream/main' into main
2022-12-31 03:25:21 +01:00