Will Miles
45cf90094a
Rename destination for getSettingsJS
...
Use a name that makes it a bit clearer what the output is. The new name
is applied consistently through most uses.
Usermods are not yet updated.
2024-09-18 23:35:36 -04:00
Blaz Kristan
ae1df20893
New names
2024-09-18 23:32:15 -04:00
Will Miles
71148740d4
Replace sappend and sappends
...
Use named functions to describe what's being printed.
2024-09-18 23:31:19 -04:00
Will Miles
4ef583c844
xml: Print optimization
...
Reduce the total number of calls by using printf_P and skipping atoi().
2024-09-18 23:27:42 -04:00
Will Miles
16f61ea96d
Usermod: Implement shim for oappend
...
Use a static Print* to transform old oappend calls to print calls.
2024-09-18 23:18:52 -04:00
Will Miles
32f9616b6e
Remove oappend
...
Remove the large stack buffer as we're just going to copy it in to a
heap buffer anyways. Later we can refine the length estimation or use a
rope-style dynamic data structure like DynamicBufferList.
2024-09-18 23:18:51 -04:00
Will Miles
d4268ba070
handleFileRead: Skip duplicate FS check
...
Since we validate the file existence ourselves, no need to have
AsyncWebServer do it again.
2024-09-18 19:47:51 -04:00
Blaz Kristan
72455ccde1
Missing "not"
2024-09-17 19:47:24 +02:00
Blaz Kristan
88fb860568
SAVE_RAM bugfix introduced by #4137
2024-09-17 16:34:38 +02:00
Blaz Kristan
ceed494cf7
Introduce common.js in settings pages
2024-09-17 16:26:11 +02:00
Blaz Kristan
ac8f919304
Serial improvements (can RX, canTX)
...
PinManager bugfix for unsigned long long
2024-09-17 16:21:52 +02:00
Blaž Kristan
7f1ec4802d
Merge pull request #4137 from felddy/feature/toggle_pallet_sync
...
Add the ability to toggle the reception of palette synchronizations
2024-09-16 16:19:19 +02:00
Blaz Kristan
d5777b7bce
Fix for missing WLED_NUM_PINS check
2024-09-15 20:34:05 +02:00
PaoloTK
e34f179a82
fix pin conflict check logic
2024-09-15 20:27:44 +02:00
Blaz Kristan
65a8dbfe41
FX: Usermod Temperature effect
2024-09-15 11:04:02 +02:00
Blaz Kristan
5708d7a6b8
Build bump, changelog update
2024-09-14 22:30:56 +02:00
PaoloTK
f16ed4697f
fix isReadOnlyPin() logic
2024-09-14 18:58:53 +02:00
Blaz Kristan
81e412fe5b
Use refernece to avoid ctor/dtor
...
Use PinManager to determine reserved pins
2024-09-14 14:54:42 +02:00
Blaz Kristan
e3d9417b84
Minor fixes
...
- rely on HAL for RO pins and max pins
- remove isPinDefined() and do clash check inline
- JS fix to use HAL max pins
2024-09-14 11:39:56 +02:00
Blaz Kristan
6a188033c6
Merge branch '0_15' into compile_different_busses
2024-09-14 09:27:37 +02:00
PaoloTK
fa82e759bd
bug fix
2024-09-12 18:27:51 +02:00
PaoloTK
daf0bcfac3
bug fix on pin already defined check
2024-09-12 18:12:38 +02:00
Blaz Kristan
49d51c5af8
Hot
2024-09-12 15:26:26 +02:00
Blaz Kristan
ec7f69d559
Merge branch '0_15' into bus-config
2024-09-12 15:22:56 +02:00
Blaz Kristan
a8c5bf2573
Ease IRAM
2024-09-12 15:22:37 +02:00
Blaz Kristan
f12de61d7f
Merge branch '0_15' into bus-config
2024-09-12 15:08:10 +02:00
Blaz Kristan
e59b38a5d2
Fix unsigned long in debug printf
2024-09-12 15:04:10 +02:00
Blaž Kristan
5b8d9d1510
Merge branch '0_15' into bus-config
2024-09-12 08:49:04 +02:00
Blaž Kristan
6169c458bf
Remove void
2024-09-12 08:48:31 +02:00
Blaž Kristan
23400d0449
Conditional IRAM for gamma
2024-09-12 08:30:46 +02:00
PaoloTK
c5435ec1fa
Merge remote-tracking branch 'AC/bus-config' into compile_different_busses
2024-09-11 23:04:37 +02:00
Blaz Kristan
eae5a74a11
color_fade bugfix
...
impure void remove
optimisations: hot
2024-09-11 17:14:59 +02:00
Blaz Kristan
5df1a223c2
Pre-allocate COM vector
2024-09-11 16:45:39 +02:00
PaoloTK
5869627b32
- More optimization on bus configuration logic.
...
- Renamed LEDPIN to DEFAULT_LED_PIN.
- Removed ability to override DEFAULT_LED_PIN, DEFAULT_LED_TYPE and DEFAULT_LED_COUNT. Use DATA_PINS, LED_TYPES and PIXEL_COUNTS instead.
2024-09-11 01:27:19 +02:00
Felddy
8ae09c3d02
Fix comment alignment
2024-09-10 18:16:00 +00:00
Felddy
83699bc5c3
Add support for toggle of palette sync
2024-09-10 18:02:29 +00:00
Blaz Kristan
3a5eb8c5d2
WLED 0.15.0-b5 release
...
- Audioreactive usermod always included
2024-09-10 16:07:37 +02:00
Blaz Kristan
fd00e5eaae
LED settings text update
2024-09-10 15:23:27 +02:00
Blaz Kristan
20444ee7d5
Debug optimisations
2024-09-10 15:20:34 +02:00
PaoloTK
eb06e575c2
add check for pin reassigned conflict with pin defined for current bus
2024-09-10 01:03:19 +02:00
Blaz Kristan
b4315152e2
Add numPins()
2024-09-08 11:07:53 +02:00
Blaz Kristan
c5b31e2f63
Bugfix
2024-09-06 17:56:36 +02:00
Blaz Kristan
ac689a9a2e
Remove array, un-inline calculateCCT
2024-09-06 12:19:04 +02:00
Blaz Kristan
43cc4ec009
Increase oappend buffer on ESP8266
2024-09-05 22:18:50 +02:00
Blaz Kristan
9cc333b2bd
Move LED types to individual bus type
...
- (credit @netmindz & @willmmiles)
Tuning.
2024-09-05 21:49:27 +02:00
Blaz Kristan
b9080f9479
Mirroring bugfix.
2024-09-04 21:17:21 +02:00
Blaz Kristan
092a5a1ca3
Unsigned fix
2024-09-04 20:54:44 +02:00
Damian Schneider
d3c31c52a2
found a better way of deadTime subtraction, fixed inverted signals
2024-09-04 18:03:52 +02:00
PaoloTK
329173e145
added complete validation logic for pins and types
2024-09-04 13:28:43 +02:00
PaoloTK
8e4f8fcbc8
fix bug in reassignment logic
2024-09-04 13:27:04 +02:00
Frank
c1c707c77a
8266 compatibility builds for older chips (another attempt t o solve #3690 and #3685 )
...
some users have reported that releases after 0.14.0 are not working reliably. So we add a few "compat" for 8266 that try to reproduce the buildenv of 0.14.0 as much as possible.
* platform and platform_packages from 0.14.0
* not using PIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48
* due to smaller IRAM, we had to move some functions back from IRAM to normal flash (may cause slowdown)
2024-09-04 11:38:03 +02:00
Blaz Kristan
b1e58dd10d
Optimisations
...
- renamed variables
- some tuning
2024-09-03 22:28:21 +02:00
Damian Schneider
2cc0aceac7
Bugfixes
...
- fixed maxBri value
- fixed overflow in dead time subtraction
- deadtime and offset now also work if signals are inverted (_reversed)
2024-09-03 19:14:50 +02:00
PaoloTK
d79d5dbadd
remove getReadOnlyPins() function
2024-09-03 17:29:38 +02:00
Damian Schneider
be7475fe66
bugfixes, removed debug printout
2024-09-02 22:06:46 +02:00
Damian Schneider
85e2f7eb34
fixed offsets and inverted signal plus dead time
2024-09-02 17:53:15 +02:00
PaoloTK
9bb979f2e8
bug fix
2024-09-01 21:46:30 +02:00
PaoloTK
c942345453
bug fix
2024-09-01 21:35:09 +02:00
PaoloTK
fcc344ba99
add read/only pin logic and check
2024-09-01 21:31:19 +02:00
Blaz Kristan
a3b28871c6
Dirty fix for newer framework
2024-09-01 12:27:41 +02:00
Blaz Kristan
2ca034bfa8
Remove ledc_set_duty_and_update
...
Add semaphoring
Determine CCT overlap
2024-09-01 11:43:22 +02:00
Blaz Kristan
0d035a08d6
Dithering support & bugfix in UI
...
Thanks to @dedehai & @zalatnaicsongor
2024-08-30 15:21:16 +02:00
PaoloTK
6655e2664e
rebase to bus-config
2024-08-29 13:18:48 +02:00
Blaz Kristan
c51ce2eec7
Fix C/P error
...
Clarifications
2024-08-27 21:57:00 +02:00
Blaz Kristan
b2e00eb868
Introduce network type (previous virtual)
...
- phase shifting correction (limit to PWM CCT)
2024-08-27 14:11:56 +02:00
Blaz Kristan
820df0c596
PinManager update
...
- LEDC: allocate same timer for CCT PWM
- use SOC constants
BusManager update
- use allocateMultiplePins for BusPwm
2024-08-27 00:21:24 +02:00
Blaz Kristan
865e3dcd0c
getNumberOfPins
2024-08-25 12:53:23 +02:00
Blaz Kristan
f55e2fc7b8
Merge branch '0_15' into bus-config
2024-08-25 12:41:16 +02:00
Blaž Kristan
cb22e1933e
Merge pull request #4111 from DedeHai/0_15_PWM_CIEbrightnesscalc
...
replaced PWM LUT with calculation
2024-08-25 12:36:23 +02:00
Blaz Kristan
8818a9e82a
Remove erroneous debug
2024-08-24 11:41:23 +02:00
Blaz Kristan
dbb47d506c
Bus manager rework
...
- move macros to constexpr methods
- introduce type capabilities for UI
- add phase shifting (POC) to PWM
- replace PWM CIE LUT with calculated curve
CIE & phase shifting credit @dedehai
2024-08-24 11:35:32 +02:00
ChuckMash
dd52124765
Added some byte definitions to WiZmote ESP-NOW message
2024-08-22 20:24:03 -07:00
Blaz Kristan
6f3267aee9
Dynamic bus config
...
- provide LED types from BusManager for settings
Credit: @netmindz for the idea.
2024-08-22 17:15:12 +02:00
Blaz Kristan
0bbd6b7c4b
Minor optimisation
...
- disable JSON live
- WS error string
- button irelevant check
2024-08-22 17:08:51 +02:00
Damian Schneider
1cc47b02cf
use CIE brightness also for ESP8266
2024-08-21 08:06:32 +02:00
Damian Schneider
e7babc071d
replaced PWM LUT with calculation
2024-08-20 20:15:17 +02:00
Blaž Kristan
8a1df1e700
Merge pull request #4093 from axlan/pixel-dice-usermod
...
Added a usermod for interacting with BLE Pixels Dice.
2024-08-19 05:39:35 +02:00
Blaž Kristan
cc298f56e2
Merge pull request #4081 from RobinMeis/0_15
...
Allow lower values for touch threshold
2024-08-18 13:49:03 +02:00
Robin Meis
665693a513
Remove minimum threshold according to https://github.com/Aircoookie/WLED/pull/4081#issuecomment-2295198219
2024-08-18 13:31:14 +02:00
Blaž Kristan
c35e82e59f
Merge branch '0_15' into pixel-dice-usermod
2024-08-18 13:20:45 +02:00
Blaž Kristan
72d38f4cff
Merge pull request #3539 from Liliputech/pov_display
...
Added POV image effect
2024-08-18 13:15:34 +02:00
Blaz Kristan
f6c47ac19c
Fix some compiler warnings
2024-08-18 10:45:16 +02:00
srg74
79b3ce141c
correct spelling error xml.cpp
2024-08-17 14:42:44 -04:00
Blaz Kristan
8d00e4d31d
Save some tiny amounts of RAM
...
- use `-D WLED_SAVE_RAM`
2024-08-17 15:09:41 +02:00
Blaž Kristan
8688777ae1
Merge pull request #4103 from netmindz/FX-cleanup
...
Remove repeating code to fetch audio data
2024-08-16 17:39:49 +02:00
FreakyJ
ee1bf1c221
#3809 Loxone JSON parser doesn't handle lx=0 correctly
2024-08-15 20:18:06 +02:00
Will Tatam
24ecf1a166
Move getAudioData to static
2024-08-15 17:58:19 +01:00
Frank
5cb49c86a0
Merge pull request #4090 from willmmiles/ino-to-cpp
...
Rename wled00.ino to wled_main.cpp
2024-08-15 18:23:53 +02:00
Blaz Kristan
9940d2590b
Arc expansion getPixelColor fix.
2024-08-15 17:22:59 +02:00
Blaz Kristan
577fce69e2
MQTT unification and cleanup
2024-08-15 16:18:34 +02:00
Will Tatam
e68375a71e
Remove repeating code to fetch audio data
2024-08-15 09:08:57 +01:00
Blaž Kristan
fe7fb6c7a9
Merge pull request #4092 from Aircoookie/sm16825
...
SM16825 support
2024-08-14 22:21:01 +02:00
Blaz Kristan
cec67d8eff
Const and 2D box blur
...
- added 2D blur
2024-08-14 22:15:48 +02:00
Frank
2443e2ec7c
wled00 -> wled_main
2024-08-14 11:16:46 +02:00
Frank
bcf862044a
Update wled00.cpp
...
* added #include <Arduino.h> - this is basically what the preprocessing tool (wled.ino -> wled00.ino.cpp) does
* added a comment that Arduino IDE is not supported, use platformIO.
2024-08-13 22:21:21 +02:00
jdiamond
b73f049484
Clean up addEffect() changes.
2024-08-13 04:40:59 +00:00
Arthur Suzuki
ed5eb28228
Added POV image effect
...
Setup is really easy, after first boot and WiFi/LEDs setup:
go to wled.local/edit and upload a couple image to WLed's filesystem.
Only PNG is supported right now, further support for GIF is planned.
The image should be as wide as the 1D segment you want to apply to.
When done, go to the Effect page on the UI, select "POV Image" effect.
You could also update the image with a post to the JSON-API like this:
curl -X POST http://[wled]/json/state -d '{"seg":{"id":0,"fx":114,"f":"/axel.png"}}'
The segment should move at around 120RPM (that's 2revolutions per seconds) for an image to showup.
More informations and pictures here : https://lumina.toys
2024-08-10 00:03:55 +02:00
Frank
db5e66a9b0
playing with Fire2012
...
* speedup: add functions to only blur rows or columns (50% faster)
* fire2012: tinkering with bur options. Vertical blur only when slider < 64 (faster); extra blur for slider values >192 (bush burn)
2024-08-09 12:53:41 +02:00
jdiamond
96c7716d3e
Added a usermod for interacting with BLE Pixels Dice.
2024-08-08 03:13:33 +00:00
Blaz Kristan
ea80c1ed83
Swap WW & CW
2024-08-07 22:39:31 +02:00