Will Tatam
ebab56ada5
Update logger
2024-03-29 13:39:09 +00:00
Will Tatam
d9dceb64ed
Attempt at adding zeroCrossingCount to audio-sync
2024-03-28 20:06:47 +00:00
Will Tatam
9eabbf3789
Sync audio_rective changes from auto-playlist branch
2024-03-28 19:40:59 +00:00
Will Tatam
9923a7a7d8
Swap to unsigned and pointers
2024-03-08 00:51:12 +00:00
Will Tatam
45d2ae7744
Clearer variable names
2024-03-07 19:21:03 +00:00
Will Tatam
6550504f60
Troy's extra data
2024-03-05 23:35:23 +00:00
Ewoud
65027331c7
Copyright and license updates
2024-03-04 21:27:01 +01:00
netmindz
e7bf24c15d
Merge pull request #119 from netmindz/html-gen
...
generate wled00/html_*.h files
2024-02-25 21:33:07 +00:00
Will Tatam
fe482c6f90
Merge branch 'mdev' into html-gen
2024-02-25 21:24:53 +00:00
Will Tatam
a7ad79678b
generate wled00/html_*.h files
2024-02-25 21:21:19 +00:00
Frank
1350a4111d
Arc optimization: symmety at 45degress
...
If the segment is wider than 20 pixels, we optimize calculations due to symmetry - for smaller arcs the result looks better without optimization.
As a side-effect, we have enough computing power left to go through the complete circumference, avoiding holes.
2024-02-25 22:02:51 +01:00
Frank
9f5a75ffab
build number up
2024-02-25 19:48:06 +01:00
Frank
8a0b97e0a8
ARC mapping optimization
...
The biggest optimization was to avoid sin_t / cos_t.
Now let's try to help the compiler optimize the drawing loop.
2024-02-25 19:46:53 +01:00
Frank
e0f08864a2
remove slow and inaccurate math from time critical code
...
as it turns out, the "_t" functions (from wled_math.cpp) are about 3 times (!!!) slower than the standard functions.
* mapping modes : Arc and Circle
* effects: 2D Drift, 2D Drift Rose
2024-02-25 19:36:29 +01:00
Frank
ff56cf0ee9
Pinwheel speed optimizations
...
* use "float" math only - sinf(), cosf(), roundf()
* use fewer "rays" for medium-sized matrix (<=32 pixels wide/high)
* ray drawing optimized to use fixed point
up to 80% faster on esp32 and esp32-S3; -S2/-C3 should also see benefits, as these do not have floating point support in hardware.
2024-02-25 18:00:19 +01:00
Ewoud
d9e2fc9a99
appendGPIOinfo NUM_DIGITAL_PINS fix
2024-02-25 11:01:03 +01:00
Frank
96d275e2b9
minor optimization for PinWheel mapping
...
use "float" math functions. These are slightly faster. By avoiding to pull in "double" math we also save some flash space.
2024-02-23 12:34:14 +01:00
Frank
07b770958f
revert changes to wled_server.cpp (requestJSONBufferLock(14) error)
...
I've had strange UI errors after this change, so cowardly taking it back..
2024-02-23 12:01:33 +01:00
Frank
c8e181f3b1
overlooked one
2024-02-23 11:19:17 +01:00
Frank
c7b52f96fb
npm run build
2024-02-23 11:03:11 +01:00
Will Miles
5117a72e52
LockedJsonResponse: Release early if possible
...
Release the json buffer lock as soon as we've finished serializing.
This should slightly reduce the number of lock collisions as the
response class isn't destructed until after the last packet is ack'd.
2024-02-23 10:58:58 +01:00
Frank
2cc67245ca
avoid infinite disconnect loops when RAM is low
2024-02-23 10:54:50 +01:00
Frank
7ae38649ad
post merge
...
MM specific adjustments
2024-02-23 10:24:26 +01:00
Blaz Kristan
c9611bde73
JSON buffer lock error messages
...
Reduce wait time for lock to 100ms
2024-02-23 09:49:26 +01:00
Ewoud
22d0675a3b
Merge pull request #118 from Brandon502/mdev
2024-02-22 19:19:04 +01:00
Brandon502
bff643f100
Update html_ui.h
2024-02-22 12:47:42 -05:00
Brandon502
017b572897
Expand1D PinWheel changes
2024-02-21 17:44:08 -05:00
Brandon502
3e131014b2
Added PinWheel Expand1D Effect
2024-02-20 17:26:36 -05:00
Frank
86b0eeafb7
Ledmaps loading bugfix (wrong size, memory corruption)
...
* File.readbytesuntil does not terminate strings. So the string buffer needs to be filled with zero's before reading.
* fix crashes (mem corruption) when ledmap file has too many / too few entries.
* initialize unused map places with "identity" (same led) mapping
before fix:
> Reading LED map from /ledmap1.json
> ("width": 60edmap1.json) ("height": 90edmap1.json)
> resetSegments 1 60x90
> allocLeds (0,0 to 60,90), 16200 from 0
> allocLeds (0,0 to 60,90), 16200 from 6
> deserializeMap 60 x 90 customMappingTable alloc 5400 from 0
after:
> Reading LED map from /ledmap1.json
> ("width": 60) ("height": 9)
> resetSegments 1 60x9
> allocLeds (0,0 to 60,9), 1620 from 0
> allocLeds (0,0 to 60,9), 1620 from 6
> deserializeMap 60 x 9
> deserializemap customMappingTable alloc 540 from 0
2024-02-20 15:10:25 +01:00
Frank
e833b898e4
bugfix: prevent IR malfunction with long LED strips / high framerates
2024-02-18 17:06:59 +01:00
Frank
0628152297
build number up
2024-02-18 16:59:03 +01:00
Frank
287c0f5df4
fastpath: use I2S driver for second bus
...
some user reported that this reduces random LEDs flickering
2024-02-18 16:58:13 +01:00
dependabot[bot]
adb3eaa578
Bump urllib3 from 1.26.15 to 1.26.18 ( #3455 )
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 1.26.15 to 1.26.18.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.15...1.26.18 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 22:44:40 +01:00
Blaz Kristan
e7285c7a03
Possible fix for #3589 & partial fix for #3605
2024-02-12 22:13:17 +01:00
Blaz Kristan
567d513a3b
Prevent JSON buffer clear after failed lock attempt
...
(alternative to #3743 )
2024-02-12 22:12:46 +01:00
Blaz Kristan
2a1f250961
Multiple analog button fix for #3549
2024-02-12 22:12:12 +01:00
Blaž Kristan
d484df0d06
Merge pull request #3732 from wled-install/patch-1
...
UM Audioreactive: add two compiler options
2024-02-12 22:02:04 +01:00
Frank
c9b416a4fe
prevent flickering during OTA
...
I've almost toasted my wiring due to uncontrolled LED flickering during OTA.
So here is the fix - it prevents any strip updates when OTA is ongoing.
2024-02-12 21:53:59 +01:00
Frank
7593c23105
minor fixies
...
* setup: print free filesystem space after mount
* loop: forgot to actually reset the stale lock
* handleConnection: (8266) user messages in case of "heap too low".
2024-02-12 21:51:23 +01:00
netmindz
6f15c58024
Merge pull request #111 from MoonModules/dmx_input
...
Implement dmx input with rdm support - with tweaks
2024-02-10 17:39:59 +00:00
Will Tatam
705338448b
Latest UI
2024-02-10 17:32:10 +00:00
Will Tatam
6970b82e37
Merge branch 'mdev' into dmx_input
2024-02-10 17:10:15 +00:00
Ewoud
5cf908ea25
Remove obsolute usermods - post
2024-02-08 23:02:10 +01:00
Ewoud
675dc29649
Remove obsolete usermods
...
- mode sort
- 4LD (non ALT)
- Rotary encoder (non ALT)
2024-02-08 22:54:06 +01:00
Frank
0f53353177
Update ESP32-Chip_info.hpp
...
minor update
- align with latest chip_info.ino
- remove duplicate info
- string optimizations to reduce flash size
2024-02-08 00:17:00 +01:00
Troy
536af571e9
Merge pull request #115 from troyhacks/WM8978
...
Settings to reject WM8978 mic noise during line-in use.
2024-02-06 14:43:10 -05:00
Troy
3c2feb82ed
Settings to reject mic noise during line-in use.
2024-02-06 14:36:22 -05:00
Frank
16c8810c96
alternative partitions file for 8MB, with more program space
...
3.2MB program, 1.5MB LittleFS filesystem.
2024-02-06 19:24:33 +01:00
Frank
f43df42468
Delete WLED_ESP32-wrover_4MB.csv
...
deleting the duplicate / obsolete "wrover" file. Its exactly the same as the normal "1MB FS" layout.
2024-02-06 19:23:32 +01:00
Frank
0bd32c7500
npm run build
2024-01-29 18:31:57 +01:00