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
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
Blaz Kristan
f915201a27
Cleanup.
2022-04-12 16:08:17 +02:00
Blaz Kristan
845aa733b7
Bugfixes.
...
- auto segments selected
- slider data aded to data-opt
2022-04-11 22:18:44 +02:00
Blaz Kristan
eda6f134a9
Moved effect sliders to bottom.
...
Implemented custom effect parameters.
2022-04-10 11:02:57 +02:00
Blaz Kristan
081f211231
Merge branch 'master' into merge-master
2022-04-04 20:52:42 +02:00
Blaz Kristan
73e898773b
Minor fixes.
...
- reversed condition for simplified UI
- removed duplicate code
2022-03-31 21:44:11 +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
81d880fb4e
Global Auto-calculate white override.
2022-03-26 23:20:14 +01: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
Blaz Kristan
c14f16bdf1
Merge branch 'master' into master-merge
2022-03-19 21:05:28 +01:00
cschwinne
d280e16723
Fixed /json/cfg
unable to set busses ( fixes #2589 )
2022-03-19 14:21:14 +01:00
Blaž Kristan
aecfa3ff0f
Merge branch 'master' into master-merge
2022-03-16 08:52:48 +01:00
SpeakingOfBrad
4642205768
Optionally set led strip color order at runtime. ( #2582 )
2022-03-16 00:17:49 +01:00
Blaž Kristan
e0fcaa6103
Merge branch 'master' into master-merge
2022-03-11 11:28:02 +01:00
Blaz Kristan
841a9f8082
Searchable presets.
...
Inline sin_gap().
Prevent live timeout.
2022-03-10 22:36:09 +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
cschwinne
0ea31cb088
Fix indefinite realtime terminated by new packet ( fixes #2356 )
...
Add custom Aircoookie fork of ESP32 core (reduces bin size by >100kB)
2022-03-10 11:20:39 +01:00
Blaz Kristan
261260b232
Fix for non-W segment.
2022-03-09 15:31:31 +01:00
Blaž Kristan
5b88894638
Reintroduction of per bus auto white calculation.
...
JS/CSS UI optimizations.
2022-03-09 13:39:51 +01:00
Blaz Kristan
ddadaa828a
Merge branch 'master' into master-merge
2022-03-08 22:46:50 +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
Christian Schwinne
9c864c9759
UI: show color controls based on segment light capabilities ( #2567 )
...
* Dynamic hiding of unused color controls in UI
(e.g. a PWM white bus with no auto white mode will not display the color wheel or palette list)
* Store segment capabilities
Don't use palettes if no RGB supported
Make it safe to update busses using `/json/cfg`
2022-03-05 01:05:26 +01:00
Blaž Kristan
c8f1297adb
Fixed main/first selected segments in IR.
...
Code optimization.
2022-02-25 10:24:00 +01:00
Blaž Kristan
23d7c3d0fe
Merge branch 'master' into merge-master
2022-02-24 13:43:12 +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
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
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
Blaz Kristan
f8eece362f
Compile fix.
...
Adjusted function names.
2022-02-10 16:09:16 +01:00
Blaz Kristan
d4ea30e081
Merge branch 'master' into merge-master
2022-02-10 14:16:55 +01:00
Blaz Kristan
a5b19bbc83
Multiple changes:
...
- added segment capabilities utility
- removed colorFromUinXX functions
- rewritten IR color handling (changeColor())
2022-02-10 13:24:51 +01:00
Christian Schwinne
00b0193a43
Fix re-init segment data leak ( fixes #2535 ) ( #2536 )
2022-02-09 08:43:35 +01:00
Blaz Kristan
2da14e5b2a
Merge branch 'master' into merge-master
2022-02-04 16:29:39 +01:00
cschwinne
97f8eea302
Refactored isRgbw to hasWhiteChannel()
2022-02-04 13:28:00 +01:00
Blaz Kristan
d31271fee3
Minor fixes:
...
- optimized setPixelSegment()
- moved extractModeName() to util.cpp
- optimized extractModeName()
- removed SR extensions from /json/effects endpoint (compatibility estabished)
2022-01-31 20:35:11 +01:00
Blaz Kristan
be8a9ae73b
setPixelSegment() optimization
2022-01-31 17:56:21 +01:00
Blaz Kristan
436542eff8
Slidercontrol fix.
2022-01-23 11:13:50 +01:00
Blaz Kristan
3da70c3e8b
Full segment syncing.
...
- removed setEffectConfig()
- rate limit handleNightlight()
- fixes in colorUpdated()
- segment color fix in UDP routine
2022-01-15 00:06:06 +01:00
Blaz Kristan
c8b1654e0a
Some fixes and new slider values.
2022-01-12 21:48:34 +01:00
Blaz Kristan
0400d0e0f0
Additional sliders.
2022-01-12 21:35:10 +01:00
Blaz Kristan
a4a3aa045b
A few more slider values added.
2022-01-12 15:45:32 +01:00
Blaz Kristan
06ded0098c
Aurora speed change.
...
Fix for Palette title.
2022-01-10 19:00:44 +01:00
Blaz Kristan
f1fbea30f1
Some slider values & defaults.
2022-01-10 18:42:09 +01:00
Blaz Kristan
1e947a34a8
Merge branch 'master' into dev
2022-01-01 16:36:06 +01:00
Blaz Kristan
8386b9a0b4
Removed dynamic JSON buffer entirely.
...
Temporary presets in RAM (ESP32)
Async loading of presets (stability).
Other minor fixes.
Bumped version to 0.13.1-bl6
2022-01-01 12:52:50 +01:00
Christian Schwinne
754682577c
Configurable framerate ( #2444 )
...
Updated arduino core versions
Better performance on esp32 core 3.x due to IRAM_ATTR
Fixed analog busses init to full white/on
2021-12-30 01:48:27 +01:00
Blaz Kristan
31603380c1
Bugfix autosegments & solid pattern
2021-12-28 18:53:30 +01:00
Blaz Kristan
5a3d3b0324
Default values for effects.
...
Moved mode names to FX_fcn.cpp
2021-12-28 18:09:52 +01:00
Blaz Kristan
eac5340b03
Merge branch 'configurable-fps' of https://github.com/aircoookie/WLED into dev
2021-12-26 11:59:22 +01:00
cschwinne
549dcd32ca
Configurable framerate
...
Updated arduino core versions
Better performance on esp32 core 3.x due to IRAM_ATTR
Fixed analog busses init to full white/on
2021-12-25 01:30:27 +01:00
Blaz Kristan
cb4c736fab
Bugfix galore.
2021-12-21 20:43:49 +01:00
Blaz Kristan
84624666ce
Incorrect delete fix.
2021-12-21 18:16:25 +01:00
Blaz Kristan
8bd716c056
Prevent undefind FX behaviour on millis() rollover
2021-12-20 16:43:47 +01:00
Blaž Kristan
b890b5f0dc
millis() rollover fix for effects
2021-12-20 11:29:03 +01:00
Blaz Kristan
156b499f93
Merge branch 'master' of https://github.com/aircoookie/WLED into dev
2021-12-07 17:18:38 +01:00
Christian Schwinne
66bad2b6f8
Single json buffer ( #2336 )
...
* Single/static JSON buffer for all requests.
* Missing json.cpp changes.
* Async fix.
* Added conditional compile (WLED_USE_DYNAMIC_JSON).
* Advanced locking with time-out.
* Missing releaseJSONBufferLock() on error response.
* Fix for config saving.
* Fixes and optimisations.
Dadded debugging information.
* Fix for ledmaps.
* No unsolicited serial sending if GPIO1 allocated
* Stray semicolons
* Fix JSON ledmap
Co-authored-by: Blaz Kristan <blaz@kristan-sp.si>
2021-12-04 01:05:01 +01:00
cschwinne
46ec504743
Various fixes
...
Fixed ESP32 crash on Colortwinkles brightness change
Fixed setting picker to black resetting hue and saturation
Fixed auto white mode not saved to config
2021-12-03 20:36:37 +01:00
Blaž Kristan
37ec058572
Merge conflict resolvement.
2021-12-02 13:09:53 +01:00
cschwinne
cadda12371
Fixed spacing LEDs not blanked if offset is changed
2021-12-02 00:52:36 +01:00
Blaž Kristan
aa34df7a4c
Merge branch 'master' of https://github.com/Aircoookie/WLED into new-CCT
2021-12-01 14:51:45 +01:00
cschwinne
48339b19d4
Status LED support in Bus manager
2021-11-30 22:52:17 +01:00
cschwinne
11c7ffad4e
Alexa and UDP sync CCT support
2021-11-28 04:01:58 +01:00
cschwinne
3e6728fedb
Only do auto white calc for busses with white channel
...
Revert auto white to global setting
Rounded /settings buttons by blazoncek
Removed obsolete script from /settings
2021-11-28 01:21:17 +01:00
cschwinne
3e9aea072d
CCT blending setting
2021-11-27 16:49:42 +01:00
cschwinne
624993fc89
CCT transitions
2021-11-27 01:33:48 +01:00
cschwinne
ba8a00764a
cctFromRgb option
2021-11-26 20:18:38 +01:00
cschwinne
ea0f37f5b9
CCT bus manager logic simplification
...
CCT from RGB if none set (-1)
2021-11-24 11:02:25 +01:00
Blaz Kristan
312cbc86e9
Bugfix.
...
Debugging info added.
2021-11-14 16:56:34 +01:00
Blaz Kristan
85ded6e500
Advanced locking with time-out.
...
Bugfixes.
2021-11-12 23:33:10 +01:00
Blaz Kristan
f8da8f6929
Added conditional compile for dynamic JSON buffer.
...
- WLED_USE_DYNAMIC_JSON
Minor fixes.
2021-11-07 11:58:16 +01:00
Blaz Kristan
d590e01a58
Merge branch 'master' into CCT-support
2021-11-05 21:27:52 +01:00
Blaž Kristan
5cf26af9f0
Merge branch 'dev' into single-doc
2021-11-04 10:05:02 +01:00
Blaž Kristan
04c9646e05
Merge branch 'master' into dev
2021-11-04 10:04:21 +01:00
Blaž Kristan
bd521f858e
Single JSON buffer.
2021-11-03 14:52:22 +01:00
Christian Schwinne
7e1920dc4b
Remove ledCount ( #2300 )
...
Bus initialization on reading from eeprom
2021-10-31 11:57:41 +01:00
Christian Schwinne
00238247cd
JSON in/decrementing ( #2258 )
...
* Initial JSON in/decrementing
* Segment brightness in/decrement
* Update json-increment (#2290 )
* Add Basic Overlay support to Usermods.
* Add seven segment overlay usermod
* Add seven_seg debug build
* Add scrolling message to seven seg um
* Fixed red color on IP address
* bh1750
* Add msg scroll. Add MQTT and Config support
* Add readme
* Restore platformio.inii
* Edit comments
* Add strip off refresh option in LED settings. (#2259 )
* Add strip off refresh option in LED settings.
New strip initialization logic.
Minor code clen-up.
* Dev code removal.
* Missing ethernet include
* Renamed mainseg to selseg
* Fix for preset cycling bounds.
* "Preset 0" bugfix.
* Auto segments only if segments were not modified
Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
* Exclude virtual busses from current calculation (#2262 )
* Refactor string usage
* 0.13.0-b4
* Fix MQTT Null publish
* Additional Flash string concat
* Add AKST/AKDT
* UM RGB-Rotary-Encoder: Properly used PinOwner
* Cycling bugfix.
Co-authored-by: Gregory Schmidt <gregory.b.schmidt@hotmail.com>
Co-authored-by: Blaž Kristan <blaz@kristan-sp.si>
Co-authored-by: Caleb Mah <calebmah@gmail.com>
Co-authored-by: ezcGman <ich@andy-hofmann.com>
* Working JSON preset cycle
* Fix some Codacy style issues
Co-authored-by: Gregory Schmidt <gregory.b.schmidt@hotmail.com>
Co-authored-by: Blaž Kristan <blaz@kristan-sp.si>
Co-authored-by: Caleb Mah <calebmah@gmail.com>
Co-authored-by: ezcGman <ich@andy-hofmann.com>
2021-10-30 14:42:17 +02:00
Blaz Kristan
a696afaeb8
Color mangling macros.
...
Removed legacy Auto White caclulation.
2021-10-26 20:35:45 +02:00
Blaz Kristan
8ca298b299
Removed legacy auto-white calculation.
...
Introduced color mangling macros.
Minor optimizations/fixes.
2021-10-26 19:17:42 +02:00
Blaz Kristan
090e29effd
Moved auto white calculation to bus manager.
...
Other minor fixes.
2021-10-25 20:15:42 +02:00
Blaz Kristan
b8013a57e2
Moved auto white calcualtion into bus manager.
2021-10-24 21:07:05 +02:00
Blaz Kristan
1b23210902
Bus manager changes for easier CCT & auto white.
...
Attempted per-strip auto white calculation (odd bug encountered).
2021-10-23 15:41:35 +02:00
Blaz Kristan
39b7b3ad53
CCT (color white balance support)
2021-10-20 20:29:13 +02:00
Blaz Kristan
c2e6d1c6bf
Squashed commit of the white-balance branch.
...
Updated simple UI.
Minor change in ST7789 display.
2021-10-16 15:13:30 +02:00
Blaž Kristan
539125ff47
Merge branch 'master' into dev
2021-10-11 10:56:25 +02:00
Christian Schwinne
f4b47ed399
Exclude virtual busses from current calculation ( #2262 )
2021-10-11 02:19:53 +02:00
Blaž Kristan
8b2145bd88
Add strip off refresh option in LED settings. ( #2259 )
...
* Add strip off refresh option in LED settings.
New strip initialization logic.
Minor code clen-up.
* Dev code removal.
* Missing ethernet include
* Renamed mainseg to selseg
* Fix for preset cycling bounds.
* "Preset 0" bugfix.
* Auto segments only if segments were not modified
Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2021-10-11 02:19:33 +02:00
Blaz Kristan
4fdf85bbdb
Add off override.
2021-10-07 22:57:07 +02:00
Blaž Kristan
6db2240f8a
Merge branch 'master' into dev
...
(mostly ignored index.js)
2021-09-22 06:58:49 +02:00
Christian Schwinne
8fae964ee8
Allocate segment data based on currently active segments ( #2217 )
2021-09-20 21:22:50 +02:00
Christian Schwinne
b8e8028eb9
Merge pull request #2184 from Aircoookie/fx-mods
...
FX optimisations and segment names
2021-09-19 15:16:23 +02:00
Blaz Kristan
bc6652f443
Segment names fixes.
...
Minor UI changes:
- new font
- removed transition
2021-09-18 13:15:19 +02:00
cschwinne
c5eac298e6
Do not delete name if segment bounds are unchanged
2021-09-18 01:20:17 +02:00
cschwinne
c8610b8ad2
Small improvements to segment names
2021-09-12 01:15:51 +02:00
Blaz Kristan
d4beb2f79b
Merge branch 'master' into dev
...
Excluded modifications to ir.cpp
Changed default segment creation logic.
2021-09-12 01:00:54 +02:00
Christian Schwinne
c24ab1b21d
Auto create segments setting ( #2183 )
2021-09-11 01:17:42 +02:00
Blaz Kristan
4d89ed701d
FX optimisations.
...
Added segment names.
2021-09-08 23:10:54 +02:00
Blaz Kristan
3066a142b8
Merge branch 'master' into dev
...
Minor tweaks.
2021-07-03 21:27:06 +02:00
cschwinne
dc01c907f1
Send websockets on every state change
2021-07-02 00:24:14 +02:00
Blaž Kristan
9f885407f5
Merge branch 'master' into dev
2021-07-01 13:24:48 +02:00
cschwinne
7233c55428
Segment Offset
2021-06-30 00:45:36 +02:00
Blaz Kristan
2424df0d18
Merge branch 'master' into dev
2021-06-25 15:52:59 +02:00
cschwinne
660de0b4e5
Auto-create segments based on configured busses
2021-06-24 02:29:14 +02:00
Blaz Kristan
1a80439825
Merge branch 'master' into dev
2021-06-15 23:36:12 +02:00
cschwinne
7d2f5f0799
Fixed div by 0 when using palette on single LED segment
2021-06-15 20:12:20 +02:00
Blaz Kristan
cc0f1be5d2
Bugfix saving PWM & button pins.
2021-05-22 00:13:49 +02:00
cschwinne
adf5c8c278
Center smaller images
2021-05-21 15:19:18 +02:00
Blaž Kristan
1617658bfe
Per strip skip first LED implementation ( #1871 )
...
* Per strip "skip first LED".
Moved skip first led into bus manager.
* Update cfg.cpp
* Do not display Skip 1st on analog types
Rename skipFirstLed() to clarify what it does
Remove RGBW override
Co-authored-by: Aircoookie <dev.aircoookie@gmail.com>
Co-authored-by: Aircoookie <cschwinne@gmail.com>
2021-05-17 16:23:46 +02:00
Blaz Kristan
8608c45309
Merge branch 'master' into dev
...
Conflicts:
CHANGELOG.md
wled00/FX.cpp
wled00/FX_fcn.cpp
wled00/ntp.cpp
wled00/wled.h
wled00/wled_math.h
2021-04-21 21:16:08 +02:00
Blaz Kristan
585f8f4683
WLED math optimisations.
2021-04-16 20:07:54 +02:00
cschwinne
afde7940d8
NUM_STRIPS
no longer required with compile-time strip defaults
2021-04-16 01:01:24 +02:00
Blaz Kristan
dcc7ba8f93
Changed ability to add multiple busses as compile time defaults,
...
using the esp32_multistrip usermod define syntax.
2021-04-15 22:19:58 +02:00
cschwinne
01dd41bdbf
Added ability to add multiple busses as compile time defaults using the esp32_multistrip usermod define syntax
2021-04-15 10:55:22 +02:00
Blaz Kristan
29e048af7b
Merge branch 'master' into dev
...
Conflicts:
CHANGELOG.md
package.json
platformio.ini
usermods/Temperature/usermod_temperature.h
wled00/FX.cpp
wled00/FX.h
wled00/FX_fcn.cpp
wled00/cfg.cpp
wled00/data/index.js
wled00/data/settings_leds.htm
wled00/data/settings_time.htm
wled00/data/style.css
wled00/html_other.h
wled00/html_settings.h
wled00/html_ui.h
wled00/ntp.cpp
wled00/usermods_list.cpp
wled00/wled.cpp
wled00/wled.h
2021-04-14 18:19:51 +02:00
Aircoookie
5786f1d057
Merge pull request #1863 from fishbone-git/running_dual
...
Running dual
2021-04-11 00:59:56 +02:00
cschwinne
87c6f3c757
Add gap for Running Dual
2021-04-11 00:50:14 +02:00
Blaz Kristan
c901512db0
Removed STATUSLED
...
Fix for possible Drip effect ESP reboot.
2021-04-06 22:30:23 +02:00
cschwinne
789c00dde1
Change indexSet to signed 32 bit
2021-04-06 11:42:21 +02:00
Blaž Kristan
90da471084
Fix for mirrored segments.
2021-04-06 07:48:12 +02:00
Blaz Kristan
ffab9bb893
Ledmap multisegment fix.
2021-04-05 21:14:36 +02:00
Blaz Kristan
31ea032054
Added segment names.
2021-04-04 21:10:44 +02:00
Blaz Kristan
89543e927a
Added multiple ledmaps, selectable via JSON API.
2021-04-04 13:54:34 +02:00
cschwinne
ecdc0a3800
Fixed ESP32 crash on Drip effect with reversed segment ( #1854 )
2021-04-03 17:18:29 +02:00
Blaz Kristan
6ace46eece
Merge branch 'master' into dev.
...
Few other modifications.
Conflicts:
package.json
platformio.ini
wled00/FX.h
wled00/FX_fcn.cpp
wled00/bus_wrapper.h
wled00/cfg.cpp
wled00/data/index.css
wled00/data/index.htm
wled00/data/settings_leds.htm
wled00/html_other.h
wled00/html_settings.h
wled00/html_ui.h
wled00/json.cpp
wled00/set.cpp
wled00/wled.cpp
wled00/wled.h
wled00/wled_eeprom.cpp
wled00/wled_server.cpp
wled00/xml.cpp
2021-03-29 23:12:19 +02:00
cschwinne
e46078286d
0.12.0 Beta 4
2021-03-29 02:28:34 +02:00
Blaz Kristan
0b75a7d0d3
Fix current calculation.
2021-03-23 15:34:46 +01:00
cschwinne
1f4a15ee6b
Fixed current estimation
2021-03-23 14:08:01 +01:00
cschwinne
8d20a13776
Fixed chevron icon not included
2021-03-22 00:31:01 +01:00
cschwinne
8a2256e0d8
0.12 beta
2021-03-20 18:43:05 +01:00
Blaz Kristan
caae57d960
Adding multiple compile time pins.
2021-03-12 23:56:29 +01:00
Blaz Kristan
071281c13a
Merge branch 'dev' of https://github.com/aircoookie/WLED into dev
...
Minor warning suppressions.
Conflicts:
wled00/FX.cpp
wled00/FX_fcn.cpp
wled00/cfg.cpp
wled00/wled.h
wled00/xml.cpp
2021-03-02 11:00:07 +01:00
Blaz Kristan
7b83b99ac9
Fix for resetting segments.
2021-02-27 12:06:14 +01:00
Aircoookie
195af002cf
Merge pull request #1779 from Aircoookie/fixwarnings
...
Fix warnings
2021-02-27 02:08:01 +01:00
cschwinne
befeb55349
Memory check on bus creation
2021-02-27 00:57:12 +01:00
Louis Beaudoin
b460d0f533
Fix Warnings ( #1744 )
...
* Remove -w (Suppress all warnings, including those which GNU CPP issues by default.) and add back in -Wall (Turn on all optional warnings which are desirable for normal code.) from build_flags
* Fixes warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
* Fixes warning: "CONFIG_LITTLEFS_FOR_IDF_3_2" redefined
* Fixes warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]
* Fixes warning: enumeration value 'onoff' not handled in switch [-Wswitch]
* Fixes warning: "ntohl" redefined, warning: "ntohs" redefined, warning: "htonl" redefined, warning: "htons" redefined
- Original fix: 858f8f4ee9
* Fixes warning: unused variable 'mainSeg' [-Wunused-variable]
* Fixes warning: unused variable 'start' [-Wunused-variable]
* (untested!) Fixes warning: operation on '...' may be undefined [-Wsequence-point]
* Fixes warning: unused variable
* Fixes warning: unused variable and warning: narrowing conversion
* Fixes warning: unused variable
* Fixes warning: unused variable
* (untested!) Fixes warning: statement has no effect [-Wunused-value]
* Fixes warning: control reaches end of non-void function
* Fixes warning: unused variable
* Fixes warning: left operand of comma operator has no effect
* Fixes warning: no return statement in function returning non-void
* (untested!) Fixes warning: ISO C++ forbids converting a string constant to 'char*' and fixes warning: unused variable 'nPins'
* Fixes warning: deleting array 'dmxData'
* Fixes warning: unused variable
* Remove all warning suppression buildflags
Co-authored-by: Louis Beaudoin <louis@embedded-creations.com>
Co-authored-by: Aircoookie <dev.aircoookie@gmail.com>
2021-02-27 00:20:31 +01:00
Blaž Kristan
f23cee17eb
Minor fixes and optimisations.
...
Temperature usermod update for pin saving.
2021-02-25 09:54:10 +01:00
Blaz Kristan
77dee439e6
1st attempt at 'blazoncek' 0.12
2021-02-24 20:23:32 +01:00
cschwinne
aa0f4c9985
Update dev branch (resolve conflicts)
2021-02-13 01:43:16 +01:00
cschwinne
2f7be3475d
Updated mapping comment
2021-02-13 01:02:14 +01:00
Blaz Kristan
2544d2e068
Dynamic LED map creation from JSON file /ledmap.json in format {"map":[4,3,2,1,...]}.
...
Used for rearranging LEDs (matrices, awkward placement, ...)
2021-02-12 11:54:35 +01:00
cschwinne
0902b628f8
Added FPS indication in info
2021-02-05 01:33:26 +01:00
cschwinne
f3aa8d368e
Multipin appears to work
2021-01-31 00:38:27 +01:00
cschwinne
9518c5f2e4
might work
2021-01-30 20:51:36 +01:00
cschwinne
c105f3b970
Mulipin select compiles
...
Need to work on JS and set.cpp next
2021-01-21 01:21:16 +01:00
cschwinne
849e04ab83
Better handling of DMA re-init
2021-01-19 17:22:37 +01:00
cschwinne
d5025fdbcc
Fixed canAllShow() and removeAll()
2021-01-18 20:51:32 +01:00
cschwinne
d02bf37167
Fix a few warnings
2021-01-16 21:40:04 +01:00
cschwinne
ef904e01ec
Circular include problem
2021-01-15 15:43:11 +01:00
cschwinne
9551519a35
First working multisegment transitions
2021-01-09 00:35:48 +01:00
cschwinne
0df6826c91
Fixed HTTP changing segments uncommanded ( #1618 )
...
Replaced Red & Blue effect with Aurora effect (PR #1589 )
Updated copyright year and contributor page link
2021-01-05 21:35:07 +01:00
cschwinne
c53647cd18
Added Preset ID quick display option
2020-12-14 23:32:57 +01:00
cschwinne
b1a7fe0f80
Fixed RGBW mode not saved between reboots ( fixes #1457 )
2020-12-13 19:02:12 +01:00
Florian Baumann
153e6b56ba
Feature/scale palette fallback ( #1484 )
...
* scale color_from_palette fallback by brightnes
* reuse `crgb_to_col` function
Co-authored-by: Florian Baumann <derflob@derflob.de>
2020-12-13 18:36:18 +01:00
Aircoookie
455a17cdb2
Merge pull request #1465 from pbolduc/bug/1431
...
Fixes an issue where switching effects causes crash
2020-12-10 12:13:16 +01:00
Phil Bolduc
135f6b0050
Add utility function to expose if strip is being updated
2020-12-09 20:29:53 -08:00
Phil Bolduc
d5e79ff36c
Fixes an issue where switching effects causes crash
...
When change effect, flag the the segment's runtime state needs to be cleared. Only clear data that before processing the segment in the main loop.
2020-12-09 17:55:14 -08:00
cschwinne
55fd781c77
Fixed compilation for analog (PWM) LEDs
2020-12-01 00:38:26 +01:00
cschwinne
fb91d9b2d4
Color order override macros
2020-11-27 23:59:00 +01:00
cschwinne
fc9255cdc4
Added new file for JSON cfg parsing code
2020-11-04 11:04:40 +01:00
Jeff Rescignano
13f18492ad
Disable onboard LED when LEDs are not in use ( #1245 )
...
* Disable onboard LED when LEDs are not in use
* Remove unused variable
* Only disable onboard LED if LEDPIN == LED_BUILTIN
* Change LEDPIN to LED_BUILTIN
2020-10-12 20:13:13 +02:00
cschwinne
1e3834dc3d
Move tristate_square8 to FX_fcn.cpp
2020-09-27 14:42:14 +02:00
cschwinne
1fbe1d1855
New Segments are now initialized with default speed and intensity
2020-09-07 21:01:10 +02:00
Aircoookie
427b5bd126
Merge pull request #1108 from xxv/xxv-dancing-shadows
...
Add Dancing Shadows effect
2020-08-30 11:45:00 +02:00
cschwinne
20f6378a3e
Move blendPixelColor() to FX_fcn.cpp
2020-08-30 10:57:42 +02:00
cschwinne
36e0a1eb23
Individual LED control via JSON ( closes #226 )
2020-08-29 22:26:39 +02:00
cschwinne
39a80f8dc7
Add easy segment mirroring ( closes #1010 )
2020-08-20 00:04:02 +02:00
cschwinne
c1cab30daf
Added mi
property to APIs
2020-08-07 00:50:19 +02:00
twlare
b50e798d55
Add segment mirror option
...
* Add segment mirror option (#1010 )
* Update new pull with playlist and palette changes
* Revert "Update new pull with playlist and palette changes"
This reverts commit 9802a7c4e2
.
2020-08-04 18:50:16 +02:00
Aircoookie
ec6a243e3e
Hostname alphanumeric ( #1048 )
...
* Use string derived from serverDescription for wifi.hostname()
The code was sending illegal hostname strings to WiFi.hostname() (which is then submitted to DHCP and often times to DNS.) A valid hostname contains only alphanumeric characters and hyphens (though it can't start with a hypen.) This change simply alters the value passed to wifi.hostname() by replacing all non alphanum chars with hyphens while ensuring the first char is never a hyphen. If the resulting hostname is empty, it uses the escapedMac value (which I'm assuming is initialized by the time this code executes.)
This change would result issue #1033
* replace string with char array
prefix wled
improve documentation
Co-authored-by: garyd9 <garyd9@hotmail.com>
Co-authored-by: Gary Dezern <gdezern@internal.youforgot.net>
2020-07-19 16:24:26 +02:00
cschwinne
4f7dc5be34
Added Sunrise nightlight mode and more UI features
...
- Added Sunrise nightlight mode
- Added Chunchun effect
- Added `LO` (live override) command to HTTP API
- Added `mode` to `nl` object of JSON state API, deprecating `fade`
- Added light color scheme support to web UI (click sun next to brightness slider)
- Added option to hide labels in web UI (click flame icon next to intensity slider)
- Added hex color input (click palette icon next to palette select) (resolves #506 )
- Added support for RGB sliders (need to set in localstorage)
- Added support for custom background color or image (need to set in localstorage)
- Added option to hide bottom tab bar in PC mode (need to set in localstorage)
- Fixed transition lag with multiple segments (fixes #985 )
- Changed Nightlight wording (resolves #940 )
2020-06-22 12:30:31 +02:00
cschwinne
70c73d2e0e
Lots of new effects!
2020-06-06 00:57:34 +02:00
cschwinne
ef1f835e57
Update to Espalexa v2.4.6
...
(+1.6kB free heap memory)
- Added `m5atom` PlatformIO environment
2020-05-10 23:58:50 +02:00
cschwinne
71886c162b
Release of WLED v0.10.0
...
DMX Single RGW and Single DRGB modes now support an additional white channel
Improved palettes derived from set colors and changed their names
2020-05-03 20:57:53 +02:00
pille
385b3570b2
cleanup code to use descriptive segment options
2020-04-24 23:35:39 +02:00
cschwinne
77edd12030
Added brightness and power for individual segments ( #289 , #290 )
2020-04-23 23:52:33 +02:00
cschwinne
6a5b757a24
TM1814 support ( closes #518 )
2020-04-19 13:25:27 +02:00
cschwinne
8da985b6d0
Fixed RBG and BGR getPixelColor ( #825 )
...
Improved formatting
2020-04-07 00:04:09 +02:00
Travis J Dean
aea07f42d1
Fix mistaken substitute.
2020-03-30 06:56:51 -04:00
Travis J Dean
30e3bbd0e8
Renamed min/max macros to fix potential std::min/max conflict (depending on include order).
2020-03-26 05:18:19 -04:00
cschwinne
53f09c0630
Moved Cronixie driver from FX library to drawOverlay handler
2020-03-22 17:45:09 +01:00
cschwinne
f4f5d6e562
Merge branch 'master' of https://github.com/Aircoookie/WLED
2020-03-21 00:57:58 +01:00
cschwinne
e5c3629e2e
Added custom per-LED mapping
2020-03-21 00:57:54 +01:00
Travis J Dean
c28027496d
Fix initialization bug when toggling skip first.
2020-03-19 00:37:35 -04:00
cschwinne
d36796429e
Various small fixes
...
Fixed color of main segment returned in JSON API during transition not being target color
- Fixed arlsLock() being called after pixels set in E1.31, (closes #772 )
- Fixed HTTP API calls not having an effect if no segment selected (now applies to main segment)
2020-03-14 11:28:42 +01:00
Def3nder
f28502514f
Remember lastColor and last Bri for Solid RGBW ( #743 )
2020-03-01 12:25:44 +01:00
cschwinne
f304a6891f
Free more than 2kB of RAM
...
Store Palettes in PROGMEM
F() select long and rarely used strings
Refactor hue error
2020-02-25 02:19:12 +01:00
cschwinne
2d75526395
Fix brightness transition updating too often
2020-02-24 19:36:25 +01:00
Def3nder
e621fdec0c
Remove analog flicker ( #678 )
...
* remove analog LED flicker
run SetRgbwPwm from main loop and with GetPixelColor(0) to get all effects using fade_out() working.
* correct unintended bitwise AND to logical AND
* Update analogLastShow
* new Arduino Core WaveForm library included
* new Arduino Core only for 8266
* correct formating + define for MQTT_KEEP_ALIVE
* fix for ESP32
* reduce scope of variable "done"
* call analogWrite only if Color or Bri did change
* Remove duplicate wifi sleep code
Co-authored-by: Aircoookie <cschwinne@gmail.com>
2020-02-22 17:20:34 +01:00
cschwinne
65a32b4166
Added new auto white modes (related to #573 )
2020-02-20 00:45:09 +01:00
cschwinne
3b52770a1b
Fix segments when reverse
2020-02-16 17:34:28 +01:00
cschwinne
dc936b63d6
Various fixes
2020-01-27 00:45:30 +01:00
Aircoookie
8850dac291
Merge pull request #587 from stringandstickytape/master
...
Add WS2815 brightness limiter power model, using "magic value" of 255mA.
2020-01-14 23:55:07 +01:00
cschwinne
ae6ba79f1e
Grouping and Spacing
2020-01-14 10:57:23 +01:00
Max Hedge
4c16efbbf7
Ignore white component on WS2815 power calculation
2020-01-13 17:18:21 +00:00