Blaz Kristan
1f3a1a0a95
Stuck effect fix.
2022-07-21 20:18:48 +02:00
albarlow
c96f83b076
Registered Usermod and Pins
...
Implemented PinManager and rerun setup of usermod after updating pins/
Registered in const.h and pin_manager.h I tried to follow the existing formatting/numbering in these files.
Wrapped any strings I could in F()
2022-07-21 09:48:37 +01:00
Blaž Kristan
2fe4edb6df
Segment clear bugfix.
...
getPixelColor fix.
2022-07-21 07:24:03 +02:00
Blaz Kristan
1e4f8be74b
Merge branch 'mapping12soundsim' into segment-api
2022-07-20 21:22:23 +02:00
Blaz Kristan
b6e53b1a0c
Minor bugfix and for loop optimization.
2022-07-19 22:14:46 +02:00
Blaz Kristan
a46894f395
Bugfixes.
2022-07-19 16:16:43 +02:00
ewowi
c7ceeb1833
Tuning leftovers
2022-07-17 17:38:20 +02:00
ewowi
12f6ed621e
Tuning of soundsim and mapping12
2022-07-17 17:17:51 +02:00
Blaz Kristan
d7daada42e
Merge branch 'master' into dev
2022-07-17 16:18:44 +02:00
Blaz Kristan
6c6849d8d7
Vectors & dynamic loadJS.
...
- Segments
- Modes
NOTE: crashes ESP if effect is running while deleting segment.
2022-07-17 15:58:41 +02:00
ewowi
e82336f355
Small bugfixes
2022-07-14 17:22:37 +02:00
Blaž Kristan
1151b615a0
Fix for SEGLEN
2022-07-14 13:47:30 +02:00
Blaž Kristan
0cf891b9d9
Optimisations
2022-07-14 13:22:34 +02:00
ewowi
aeb8fd6fda
make getPixelColor matrix (mapping) aware
...
And change some mapping defaults of effects useing getPixelColor
2022-07-13 15:40:40 +02:00
ewowi
615f807909
Regenerate html_ui.h
2022-07-13 12:45:23 +02:00
ewowi
985255afed
Merge remote-tracking branch 'origin/segment-api' into mapping12soundsim
2022-07-13 12:44:43 +02:00
ewowi
9bec394d7f
Add mapping12 and soundsim defaults to effects and apply in segment ui
...
index.js: rename setSliderAndColorControl to setEffectParameters, rename extras to effectPars, add segment variable update code
FX.cpp: add map12 and ssim defaults to data_FX_MODE variables (WIP)
FX_fcn.cpp: add return in setPixelColor for 2D
2022-07-13 12:41:33 +02:00
Blaz Kristan
8f72e0ab83
Reload presets on save.
2022-07-12 21:09:10 +02:00
ewowi
6799a3bd35
Merge remote-tracking branch 'origin/segment-api' into mapping12soundsim
2022-07-12 20:04:44 +02:00
Blaz Kristan
588c7a81fc
Fix for transitions.
2022-07-12 18:10:07 +02:00
ewowi
16aa0e4dba
Resolve compile fail
2022-07-11 11:39:56 +02:00
ewowi
81cb765b7a
Finish merge by adding the mapping12 code to setPixelColor
2022-07-11 11:20:30 +02:00
ewowi
d5523615ef
Merge branch 'refactor-ws2812fx' into mapping12soundsim
2022-07-11 11:05:49 +02:00
Blaz Kristan
d9f2c2b968
Segment API
...
- moved all drawing logic to segment
- moved transitions to segment
Conditional 2D compile.
Rearranged effect IDs.
Implemented dynamic effect arrays.
2022-07-10 22:23:25 +02:00
ewowi
2f6adbd07c
Add Mapping 1D to 2D. Mapping12 and sound simulation effect independent
...
- add to segment: mapping 1D2D and Sound Simulation (WIP!)
- Add sound simulation WeWillRockYou
- All audio effects use segment soundSim
- Redefine SEGLEN: strip.getMappingLength (depending on mapping12)
- make setPixelColor aware of mapping12
2022-07-10 14:30:10 +02:00
Blaz Kristan
f0992d56c1
Added global I2C & SPI HW pin defines
...
Fixed default values fo custom sliders.
Fix for color selector.
Changed fading for 2D GEQ
Audioreactive fix send/receive option
2022-07-07 23:07:20 +02:00
ewowi
5a772f5410
add simulateSound to sound effects (wip)
2022-07-07 12:48:41 +02:00
Blaz Kristan
698a32f364
Cleanup effects.
2022-07-06 20:41:12 +02:00
Blaz Kristan
bdea2acf67
Correctly position #defines
2022-07-06 19:49:55 +02:00
Blaz Kristan
9519c8edbd
Fix disbling AudioReactive usermod
...
Reduce IRAM pressure for ESP8266
2022-07-06 19:42:48 +02:00
Blaz Kristan
64fd207533
Refactoring WS2812FX class.
...
- effect functions no longer part of class
- methods to access private members
- separate Segment, Segment_runtime, ColorTransition from WS2812FX
2022-07-06 13:13:54 +02:00
Blaz Kristan
348c4b4431
Fix for 2D peek.
2022-07-04 14:13:17 +02:00
Blaz Kristan
febd7cbca8
Enable Peek for 2D.
2022-07-04 11:12:55 +02:00
Blaz Kristan
e2b7b228c5
Compile fix.
...
Use virtualLength() in getPixelColor()
2022-07-04 10:30:49 +02:00
Blaz Kristan
8b58d96aea
Float variables instead of double.
2022-07-03 23:00:32 +02:00
Blaz Kristan
0a2e01a616
Multiple changes:
...
- change arduinoFFT to float (custom)
- update audioreactive to use float
- update effects to use float
- info slider (usermod)
- hide Peek in 2D
- minor bugfixes
2022-07-03 22:55:37 +02:00
Blaz Kristan
a8908238d5
Prevent race condition when saving bus config.
...
(loop() is executed on different core than handleSet())
2022-07-02 14:28:09 +02:00
Blaz Kristan
569138ac80
Bugfix saving LED config (race condition)
2022-07-01 14:10:32 +02:00
Blaz Kristan
cf3faa1170
Merge branch 'audioreactive-prototype' into 2D-support
2022-06-29 16:30:50 +02:00
Blaz Kristan
d2705f033d
Enhance API
...
- addPixelColorXY()
- fadeToBlackBy()
2022-06-28 23:32:29 +02:00
Blaz Kristan
5d12e2291c
Bugfix in getPixelColorXY()
2022-06-28 23:01:52 +02:00
Blaz Kristan
cd46d84dcb
Shuffle tooltips.
2022-06-28 12:36:23 +02:00
Blaz Kristan
4c60a70c6f
Slider div change.
...
Effect data bugfix.
2022-06-27 22:46:36 +02:00
Blaz Kristan
a75b3a53aa
Use getModeCount() instead of MODE_COUNT
...
Clear strip if spacing changes.
Rewrite 2DGEQ.
2022-06-26 23:01:22 +02:00
Blaz Kristan
94a79b57e9
Tooltips for effect sliders.
2022-06-26 22:47:16 +02:00
Blaz Kristan
dbe90eb3f5
Minor UI fixes.
2022-06-23 21:00:12 +02:00
Blaz Kristan
3891348c26
Multiple fixes.
...
- anti-aliasing fix
- minor UI CSS fix
- dynamic JS loading (2D & UM)
- 2D Lissajous fix
2022-06-23 17:42:02 +02:00
Blaz Kristan
84106d6282
Merge branch 'dev' into audioreactive-prototype
2022-06-22 18:04:40 +02:00
Blaz Kristan
37395931bf
Merge branch 'master' into master-merge
2022-06-22 16:11:09 +02:00
Blaz Kristan
88e487be8e
Fix for Colortwinkles.
2022-06-22 16:08:14 +02:00
Frank
c79eb43347
disabled second check for strip.isUpdating()
...
commented out the second `strip.isUpdating()` check, because it should not be neccesary; Strip.service() is called after handleIO()/handleButton().
2022-06-22 12:36:47 +02:00
Blaž Kristan
860e74bffa
Comment & float constant.
2022-06-22 09:58:21 +02:00
Blaz Kristan
4c759083be
Multiple changes.
...
Added:
- introduced addEffect() and setupEffectData()
- conditional compile for audio effects
- introduced getModeData() and getModeDataSrc() instead of public var
- changed _modeData[] to private non-static
Fixes:
- DMTYPE use
- add reboot info to DMTYPE
- transpose & reverse with mirroring
2022-06-21 22:49:45 +02:00
Blaz Kristan
d3bb079be4
Muliple enhancements:
...
- Smarter on/off buttons in Info panel (usermods)
- On/Off bus in bus_manager
- 2D GEQ fix (2D CenterBars obsolete)
- hide unused palettes & modes
2022-06-20 22:17:01 +02:00
Frank
ed374684a6
Update button.cpp
...
overlooked one
2022-06-20 22:00:23 +02:00
Frank
169a46c38c
button.cpp: marked literal constant as "float!
2022-06-20 21:56:16 +02:00
Frank
1dbea434a3
fix for issue #2587
2022-06-20 16:04:43 +02:00
Hendrik Langer
a5b4d7a244
add TM1829 support
2022-06-20 15:03:17 +02:00
Blaz Kristan
48259b4ffe
Reorganised exchange array.
...
Updated effects to reflect reorganisation.
Provide feedback to UI for maxVol and binNum.
2022-06-18 12:36:10 +02:00
Blaz Kristan
041426fecb
Scrolling text selectable font.
2022-06-17 21:19:12 +02:00
Blaz Kristan
2caf7efdc6
Added date & time support for scrolling text.
2022-06-17 19:09:44 +02:00
Blaz Kristan
b00e038b33
Enhancement in effect functions.
...
- added color_add()
- fixed AA setPixelColor()
- added fadeToBlackBy() (FastLED)
- added hiding of * palettes if not all color selectors shown
2022-06-17 18:57:32 +02:00
Blaz Kristan
0daddf9896
Some fixes.
...
Remove (*) palettes if not all 3 color selectors shown
Updated comments
2022-06-17 16:18:35 +02:00
Blaz Kristan
f3364e1327
Scrolling text #DATETIME bugfix.
...
Cosmetic changes.
2022-06-16 21:52:14 +02:00
Blaz Kristan
12a94c50b8
Various fixes.
...
Added support for no audio to some effects.
2022-06-16 16:10:38 +02:00
Blaz Kristan
477c9ef577
Cosmetic fixes.
2022-06-15 22:17:34 +02:00
Blaz Kristan
e146a476bd
Effect ID compatibility with WLED-SR
...
Updated some SR effects.
2022-06-15 17:21:32 +02:00
Blaz Kristan
45e74126da
Non-2D audio effects.
2022-06-14 18:16:18 +02:00
Blaž Kristan
489b144085
Overload temporary fix.
...
Non-audio SR effects.
2022-06-14 12:06:51 +02:00
Blaž Kristan
4cc2dea2fe
color_add() that preserves color ratio
...
AA version of setPixelColor(float)
Fix in AA ratio calculation.
2022-06-14 09:11:56 +02:00
Blaz Kristan
1e2cae7087
W fix.
2022-06-13 22:13:04 +02:00
Blaz Kristan
2b259f3704
Usermod API enhancements
...
- data exchage getUMData()
- usermod configuration helper appendConfigData()
- notification on updates onUpdateBegin()
2022-06-13 22:11:55 +02:00
Blaz Kristan
0df5221784
Normalised/antialiased setPixelColorXY()
2022-06-13 21:55:51 +02:00
Blaz Kristan
4c78d35680
Fix CRLF.
2022-06-13 21:29:08 +02:00
Blaz Kristan
cdef8472e3
Gav... efects to test audio
...
Anti-aliased setPixelColor() with support for normalized x & y
2022-06-13 21:28:10 +02:00
Blaz Kristan
cc995ecef8
2D Waverly audio reactive.
2022-06-12 22:17:17 +02:00
Blaz Kristan
922a3631ae
Fixed order of loading.
2022-06-12 15:09:15 +02:00
Blaz Kristan
0903078618
Execute GetV() after cfg.json is loaded.
2022-06-12 14:02:49 +02:00
Blaz Kristan
8c759cb65a
Usermod config info & data.
2022-06-11 18:55:23 +02:00
Blaz Kristan
562a206508
It compiles!
...
Cleaned (and possibly broken) AudioSource
Added:
- usermod notification about update
- strip.getMinShowDelay()
- pin manager updates
Changed:
- data exchange
2022-06-11 00:50:29 +02:00
Blaz Kristan
dd584e929f
Added audioreactive to usermod_list
...
Formatting in usermod
2022-06-10 16:37:55 +02:00
Blaz Kristan
184ff7a3b3
Audioreactive usermod.
2022-06-08 21:14:01 +02:00
Blaz Kristan
9db872db56
Fixes:
...
- mirroring
- FX memory allocations
- preset loading if WS request too big
Changes:
- remove "pt" in favor of "ps" in JSON
- fading in Ghost rider
2022-06-05 10:16:56 +02:00
Blaz Kristan
f1a1b89d13
Fixes.
...
- correct preset cycling
- updated rotary encoder preset selection
2022-06-03 22:22:18 +02:00
Blaz Kristan
14e0e96596
Send complet preset API from UI.
...
Cycling value correction (optimisation and preset hack removal).
2022-06-03 18:38:46 +02:00
Blaz Kristan
14887d5e88
Multiple fixes.
...
- non matrix bugs in legacy effects
- preset loading (cycling)
- segment length in UI
- possible WS heap corruption prevention
2022-06-01 22:11:25 +02:00
Blaz Kristan
366006273d
Watchdog timer (@poelzi).
...
Transpose optimisations.
Rain effect updated.
2022-05-30 22:21:13 +02:00
Blaz Kristan
6a69a726f2
Build bump.
2022-05-29 18:34:59 +02:00
Blaz Kristan
e9cd4d95a7
Merge branch 'master' into master-merge
2022-05-29 18:22:33 +02:00
Blaz Kristan
d7e1dc1f95
Revert speed for Fire.
...
Segment brightnes +/- fix.
2022-05-29 18:20:30 +02:00
Blaz Kristan
8b73a7375a
Fix for transpose.
...
blur1d() using weighted box blur.
2022-05-28 19:23:16 +02:00
Blaz Kristan
461cc1d5a8
Fix for stalled scrolling text.
...
Minor other fixes.
2022-05-27 15:29:34 +02:00
Blaz Kristan
3d6df07335
Bugfixes in 2D.
...
PIR stops countdown if preset changed.
2022-05-27 13:39:22 +02:00
Blaz Kristan
7689587879
New 2D Drift Rose effect.
...
Fix for segment name.
Updated blurRow & blurCol to work on non-leds[].
Updated several legacy effects to be 2D aware.
Code cleanup.
2022-05-26 21:36:48 +02:00
Blaz Kristan
e248b989e1
2D Scrolling text
...
Updated Glitter & Sparkle
2022-05-25 21:15:08 +02:00
Blaz Kristan
9920424a31
Polar Lights fix.
...
Cleanup.
2022-05-24 16:43:21 +02:00
Blaz Kristan
17be0a2c12
Enhance rotary encoder with custom sliders.
...
Soft watchdog timer (by poelzi)
2022-05-24 13:45:35 +02:00
Daniel Poelzleithner
26fa38d052
Watchdog: disable watchdog while OTA is running
2022-05-23 22:30:13 +00:00
Blaz Kristan
34a4382920
Effect fixes.
2022-05-23 21:04:16 +02:00
Blaz Kristan
e7c9b5a4f0
2D Fireworks (enhanced 1D version).
...
Transposed Fire 2012 on matrix.
2022-05-22 17:20:06 +02:00
Blaz Kristan
d522b608d3
Finally fix for Crazy Bees.
2022-05-22 12:32:38 +02:00
Blaz Kristan
3e7303c15c
Possible fix for Crazy Bees.
...
Code cleanup.
2022-05-22 12:00:27 +02:00
Blaz Kristan
6e342983f9
It did not like PROGMEM.
2022-05-22 00:41:45 +02:00
Blaz Kristan
a6d7ed3824
Moved mode names (& slider data) to a static array
...
-- may break some things --
2022-05-21 18:37:09 +02:00
Blaz Kristan
e003ec39fb
Transpose fix for XY()
...
Slight internal API change.
Renamed c1x,c2x,c3x to custom1, custom2, custom3 to be in line with SR.
2022-05-21 13:19:11 +02:00
Blaz Kristan
62abc63f7a
Removed static vars to support segments.
2022-05-20 22:29:47 +02:00
Blaz Kristan
0955480f5b
Build bump.
2022-05-20 19:51:46 +02:00
Blaz Kristan
bf76affd06
Fix for missing palettes.
2022-05-20 19:44:06 +02:00
Blaz Kristan
b4d6525899
Added new 2D effects:
...
- 2D Floating Blobs
- 2D Ghost Rider
Crash fix for 2D Game of Life.
Added support function fill_circle() & wu_pixel().
Removed obsolete debug strings.
2022-05-20 19:35:22 +02:00
Blaz Kristan
ba3555a66f
2D Game of Life update.
...
Added crc16().
Reduced errorToast popup time.
Fixed drawLine() incorrect uint16_t use and added leds[] support.
2022-05-20 14:48:40 +02:00
lost-hope
65f5bc531c
Added line drawing function based on Bresenham
2022-05-19 22:49:04 +02:00
Blaz Kristan
3ba4702181
2D crazy bees.
2022-05-19 18:57:23 +02:00
Blaz Kristan
ad9c42e832
2D Spaceships.
2022-05-19 18:27:04 +02:00
Blaz Kristan
0368d3be59
Some fixes.
...
Tried removing leds[] for some effects.
2022-05-19 17:01:52 +02:00
Blaz Kristan
598549b5fb
Additional 2D effects.
2022-05-19 11:29:04 +02:00
Blaz Kristan
49086a3ae0
2D heartbeat/ECG.
2022-05-18 21:47:48 +02:00
Blaz Kristan
4e8030bd81
Bugfix.
...
- centered Settings buttons
- disallow preset ID >250
2022-05-18 14:38:22 +02:00
Blaz Kristan
094e130544
slight mod for 2Ddrift
2022-05-11 18:25:19 +02:00
Blaz Kristan
879fd5a13d
Hide 2D modes in UI if not a matrix set up.
2022-05-11 12:29:46 +02:00
Blaz Kristan
c2bb49aca0
Messed up again.
2022-05-11 09:55:23 +02:00
Blaz Kristan
9ed14b6e8c
Incorrect mode params fix.
...
Variable eye width in Halloween Eyes.
2022-05-11 09:53:40 +02:00
Blaz Kristan
4484721a9f
2D Haloween eyes
...
Misc fix.
2022-05-11 09:37:38 +02:00
Blaz Kristan
4963a5797b
Corrected slider names & options for 2D effects.
2022-05-10 21:41:20 +02:00
Blaz Kristan
13f5798ed4
blur2D & other bugfixes
2022-05-10 10:37:27 +02:00
Jamie Stoom
db8e1dec3e
🐛 fix(json): allow for using ~-16
or ~16
when setting a segments brightness though the JSON api
2022-05-09 18:06:45 -07:00
Blaz Kristan
c9bdecdb69
API change.
...
New SR effects.
Bugfixes.
2022-05-10 00:35:26 +02:00
Blaz Kristan
adb7726974
Bugfixes.
...
- removed IS_ macors
- replaced .options with getOptions()
- Fire2012 matrix fix
2022-05-09 16:15:07 +02:00
Blaz Kristan
d6883d0c1c
Added CRGB variant for setPixelColor()
2022-05-09 11:11:25 +02:00
Blaz Kristan
b2409ac708
Bugfix in vertical panel ledmap generation.
...
2D implementation of Fire 2012
2022-05-09 11:04:11 +02:00
Blaz Kristan
cf189663a7
Segment width & height fix.
...
Auto 2D segment.
2022-05-08 14:28:02 +02:00
Blaz Kristan
f0d36fd769
WLED 2D matrix support.
...
- Added 2 sample effects to UI.
- 2D segment details.
- 1D effect upscaling to 2D.
- 2D setPixelColorXY() and other utility functions
- Arbitrary panel position & oritentation.
- 2D settings with physical to logical mapping.
- Bump version.
2022-05-08 10:50:48 +02:00
Daniel Poelzleithner
213e3e998a
Enable ESP watchdog by default
...
Use the ESP watchdog to detect hanging ESP and reset the firmware.
Can be disable by defining WLED_WATCHDOG_TIMOUT 0
Default timeout is 3 seconds on ESP32 and 8 seconds on ESP2688
2022-05-05 11:33:00 +00:00
Luke Plassman
bef9c68f81
Working DMX Libraries ( #2652 )
...
* added SparkFunDMX library dependencies
* changed variable names to avoid conflicts with SparkFunDMX library
* board version checks
* minor changes to DMX
* fix brightness when no shutter DMX channel is set
* fix compile issue on newer ESP32 variants
2022-05-05 02:28:09 +02:00
Blaz Kristan
9f71a6ab18
Arduino OTA lock fix.
2022-05-01 22:09:40 +02:00
Blaz Kristan
e088f7a552
PIN code field focus on load.
2022-05-01 10:27:26 +02:00
Blaz Kristan
2e6ce0481c
Allow swapping of W channel for RGBW LEDs.
...
Backporting fix.
2022-04-30 12:45:38 +02:00
Blaz Kristan
279664a578
Added compile time PWM fan pins.
...
Updated readme
2022-04-29 09:52:45 +02:00
Blaz Kristan
2a3d128f3c
Default pins for Multi-Relay.
...
Update page fix.
2022-04-28 22:31:09 +02:00
Blaz Kristan
9667365d9e
Optional HSV sliders instead of color wheel.
...
PIN code optimizations & fixes.
2022-04-27 12:31:47 +02:00
Blaz Kristan
d4ef26e0f3
HSV sliders option instead of color picker.
2022-04-26 22:16:08 +02:00
Blaz Kristan
a053e81797
Minor fixes.
2022-04-24 19:47:55 +02:00
Blaz Kristan
1494bfe855
Fix for non-websockets build.
...
Cleanup.
2022-04-24 19:30:14 +02:00
Blaz Kristan
f1a4ba4e76
Restore preset upon playlist end option.
2022-04-20 18:05:59 +02:00
Blaz Kristan
385c526414
Added new holidays.
2022-04-19 17:16:07 +02:00
Blaz Kristan
5e95e02429
Missing segpwr configuration.
2022-04-18 22:59:32 +02:00
Blaz Kristan
3081802b1c
Minor UI fix.
...
- keep .staytop/.staybot sticky
- .fnd inheritance
2022-04-17 12:01:44 +02:00
Blaz Kristan
1663601dcb
UI fixes.
...
- correct load sequence
- incorrect power on repeated segments
- update button
- fix for find icon
- connection icon colors
2022-04-17 11:13:13 +02:00
Thomas
1a513c7bbf
wled.cpp: Wrap Serial calls in #ifdef WLED_ENABLE_ADALIGHT
. ( #2630 )
...
handleImprovPacket() unconditionally gobbles serial data which a problem
if we want another feature to consume it. This patch uses the same guard
as the existing call in `handleSerial()`.
Co-authored-by: Thomas Fubar <FUB4R@users.noreply.github.com>
2022-04-17 00:08:27 +02:00
Blaz Kristan
92cbdde429
Cleanup.
2022-04-16 16:31:00 +02:00
Blaz Kristan
0f6b1e4ae1
Synchronus applyPreset() from HTTP JSON API call.
...
Bugfix for HTTP API preset.
WS multiple broadcast fix.
Turning segment on/off will not reset currentPreset/cause stateChanged.
2022-04-16 16:28:43 +02:00