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
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
a75b3a53aa
Use getModeCount() instead of MODE_COUNT
...
Clear strip if spacing changes.
Rewrite 2DGEQ.
2022-06-26 23:01:22 +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
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
d7e1dc1f95
Revert speed for Fire.
...
Segment brightnes +/- fix.
2022-05-29 18:20:30 +02:00
Blaz Kristan
9920424a31
Polar Lights fix.
...
Cleanup.
2022-05-24 16:43:21 +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
adb7726974
Bugfixes.
...
- removed IS_ macors
- replaced .options with getOptions()
- Fire2012 matrix fix
2022-05-09 16:15:07 +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
Blaz Kristan
1494bfe855
Fix for non-websockets build.
...
Cleanup.
2022-04-24 19:30:14 +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
Blaz Kristan
f915201a27
Cleanup.
2022-04-12 16:08:17 +02:00
Blaz Kristan
eda6f134a9
Moved effect sliders to bottom.
...
Implemented custom effect parameters.
2022-04-10 11:02:57 +02:00
Blaz Kristan
f247139f1c
Bugfixes.
...
- prevent changing main segment during live
- PIN code entry validation
- UI CSS fixes
2022-04-07 21:54:55 +02:00
Blaz Kristan
081f211231
Merge branch 'master' into merge-master
2022-04-04 20:52:42 +02:00
cschwinne
958cd35e21
Live mainseg improvements
...
Make override work in mainseg mode
Move unfreeze on turn on from UI to JSON parser
Fix mainseg not unfreezing on timeout
2022-04-01 00:59:19 +02:00
Blaz Kristan
955bb51f11
Freeze/unfreeze for mainseg UDP.
2022-03-28 22:36:58 +02:00
Blaz Kristan
b583def913
Using freeze instead of power for segment.
...
Fix for missing udp.cpp
2022-03-28 20:44:49 +02:00
Blaz Kristan
6079effae3
UDP on main segment only.
2022-03-25 17:20:41 +01:00
Blaz Kristan
41aa1ee318
Use UDP live/realtime data on main segment only.
...
Includes Adalight revert, CSS optimizations and setPixelColor() refactoring.
2022-03-25 16:36:05 +01:00
Blaž Kristan
0234017ca1
Merge branch 'master' into master-merge
2022-03-15 09:55:23 +01:00
cschwinne
9552784e72
Remove persistent argument from savePreset()
...
(fixes temp preset not applicable by APIs)
Default to 5Mhz hardware SPI driving (#2558 )
2022-03-14 20:53:00 +01:00
Blaž Kristan
e0fcaa6103
Merge branch 'master' into master-merge
2022-03-11 11:28:02 +01:00
cschwinne
4865ddb377
Fix realtime mode disabled by brightness change
...
Fix realtime mode not working immediately at turn on
Fix individual segment control not working immediately at turn on
2022-03-10 20:40:48 +01:00
Blaz Kristan
ddadaa828a
Merge branch 'master' into master-merge
2022-03-08 22:46:50 +01:00
Blaz Kristan
a3cd10d83b
Reverse proxy WSS support.
2022-03-08 16:16:07 +01:00
cschwinne
b626c7620e
Disabled auto white mode in segments with no RGB bus
2022-03-08 02:16:33 +01:00
Blaž Kristan
e561304645
Merge branch 'master' into master-merge
2022-03-07 09:44:35 +01:00
cschwinne
a2c8796e04
Replaced native Cronixie support with usermod
2022-03-06 23:47:36 +01:00
Blaz Kristan
f1dd1bd6bd
Relative value wrapping and operator fix.
...
Slot selector changes.
2022-03-04 21:49:07 +01:00
cschwinne
85b1c309d1
Relative value wrapping and operator fix ( fixes #2566 )
2022-03-04 14:42:35 +01:00
Blaz Kristan
61a01cb163
JS/CSS optimisations
2022-02-28 23:32:24 +01:00
Blaž Kristan
23d7c3d0fe
Merge branch 'master' into merge-master
2022-02-24 13:43:12 +01:00
cschwinne
c03d4f115f
Fixed presets not triggering interface update
2022-02-23 19:42:34 +01:00
cschwinne
ed90b638a9
Main seg replaced by first selected in internal interfaces
...
Version bump to 0.13.0-b7
Various small improvements
2022-02-23 19:20:07 +01:00
Blaz Kristan
c5252e06a7
Main segment UI identification.
2022-02-22 22:10:26 +01:00
Blaž Kristan
8af445e72b
Merge branch 'master' into merge-master
2022-02-22 10:42:00 +01:00
cschwinne
44739c5198
Merge effectChanged and colorChanged to stateChanged
2022-02-21 22:12:13 +01:00
Blaz Kristan
41b6f3ffa7
Merge branch 'master' into merge-master
2022-02-20 22:24:11 +01:00
Christian Schwinne
7138e891be
Add per-segment light capability info ( #2552 )
...
* Add per-segment light capability info
* Fix duplication
* Change to more lightweight seglc array
* Added segment capabilities.
* Differs and capabilities refactoring
* Add back selection differs option
Co-authored-by: Blaz Kristan <blaz@kristan-sp.si>
2022-02-20 00:20:22 +01:00
Blaz Kristan
d7dac57a07
Save a bit of RAM and flash.
2022-02-19 20:34:37 +01:00
cschwinne
613809c2af
Do not turn rpt segments off
2022-02-16 23:54:14 +01:00
cschwinne
7b969bb8c2
Various state changed logic simplifications
...
Changed main segment, must be selected
2022-02-16 21:12:33 +01:00