Blaž Kristan
f55f803531
Updated aut-white calculation.
2021-10-27 14:02:48 +02:00
Blaž Kristan
757e8eb57c
Bugfix in auto-white calculation.
2021-10-27 08:17:51 +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
1cf793233f
Removed experimental v2 segment API.
...
Bugfix for white value.
2021-10-21 21:33:26 +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
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
Blaž Kristan
2d8885cb0c
Bus manager cleanup & fixes.
2021-10-08 08:30:06 +02:00
Blaz Kristan
4fdf85bbdb
Add off override.
2021-10-07 22:57:07 +02:00
Blaž Kristan
bddd22cfab
Merge branch 'master' into dev
2021-10-07 13:47:36 +02:00
cschwinne
7d6d9eddc4
Change virtual bus type range
2021-10-06 14:30:41 +02:00
Blaz Kristan
8f1cee2e61
Fixed mem calculation.
2021-10-04 19:44:46 +02:00
Blaz Kristan
caa9cc32d7
Removed double buffer.
...
Moved bri scaling into UDP function.
Prevent double DDP port allocation.
2021-10-04 19:41:20 +02:00
Blaž Kristan
aef53a8753
Network bus changes:
...
- moved brightness scaling to broadcast fn
- removed double buffer
- fixed getPixelColor()
2021-10-04 13:44:44 +02:00
cschwinne
330da137db
Fixed virtual getPixelColor() returning scaled values
2021-10-03 22:01:50 +02:00
cschwinne
91598cbbbf
Remove Total LEDs field
2021-10-03 12:23:24 +02:00
cschwinne
0b0d18f182
Fix preset variable
2021-10-02 20:10:52 +02:00
Blaz Kristan
c1b0877956
Bus implementation.
...
Added separate DDP listener.
LED settings overhaul.
Minor fixes:
- reduced LED memory
- boot brightness fix
- reduced debug frequency
- added usermod time spent debug
- mDNS glitch fix
2021-10-02 15:07:02 +02:00
Blaz Kristan
5d1efd84a4
Permanent double buffer.
2021-09-27 16:29:38 +02:00
Blaz Kristan
8af953e20d
Fix getPixelColor.
2021-09-26 20:01:04 +02:00
Blaz Kristan
66132a912a
Brightnes bugfix in BusNetwork class.
2021-09-26 19:51:40 +02:00
Blaž Kristan
6489444158
Additional fix.
2021-09-23 06:55:08 +02:00
Blaž Kristan
59a66a3ea5
Buffer filling bugfix.
2021-09-23 06:52:48 +02:00
Blaz Kristan
0f8d6daf99
Bus creation bugfix. Removed debug code.
2021-09-22 19:13:52 +02:00
Blaž Kristan
08925a72c6
Renamed BusVirtual to BusNetwork
...
- added options for E1.31 and ArtNet
- added check for initialised network
2021-09-22 13:20:36 +02:00
Blaz Kristan
54eac18eea
Bugfixes for saving and loading IP address.
...
Debug info for UDP.
2021-09-21 22:18:55 +02:00
Phil Bolduc
cc661b26fa
fix spelling error, be smarter how we write data to udp
2021-09-20 16:57:54 -07:00
Blaz Kristan
d95ba43fd1
Virtual bus implementation.
...
Base for virtual WLED set-up (multiple instances acting as one).
UDP broadcast not yet implemented.
2021-09-20 22:24:58 +02:00
Blaž Kristan
916ad0a58e
Merge branch 'master' into dev
2021-08-26 09:09:41 +02:00
Henry Gabryjelski
1d4487b6cd
Ethernet configuration fix, improve PinManager ( #2123 )
...
* Improved pin manager, ethernet config
* Ethernet is configured prior even to LED pins
* Pin Manager allocation / deallocation functions
now take an "ownership" tag parameter, helping
avoid accidentally free'ing pins that were allocated
by other code
* Pin Manager now has ability to allocate multiple
pins at once; Simplifies error handling
* Fix operator precedence error
Bitwise AND has lower precedence than the
relational "greater than" operator.
* PinManager update for some user modules
* don't build everything...
* Final step to reduce RAM overhead
* update comment
* remove macros
* Remove leftover allocated
* Init ethernet after settings saved
Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2021-08-23 14:14:48 +02:00
Blaz Kristan
b0cfcb1999
Merge branch 'master' into dev
2021-07-10 17:01:20 +02:00
Henry Gabryjelski
3ad336a1eb
Bug 2064, 2063 - PinManager usage ( #2066 )
...
* Fix 2063 - Do not free pins unless allocated
* Fix 2064: Allocate pins used for Ethernet
* Fix obvious compilation errors.
* Fix multiple bugs...
* pinsAllocated[2] set twice due to copy/paste bug.
* wrong pin allocated for ETH_CLOCK_GPIO17_OUT due to copy/paste bug
* Stylistic change per PR review
* Stylistic change per PR review
* attempt to allocate pin for "default" button
* remove extra local variable
* check return value from ETH.begin()
Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2021-07-09 20:06:48 +02:00
cschwinne
5da47636cf
Busses extend total configured LEDs if required ( closes #2056 )
...
Fixed extra button pins defaulting to 0 on first boot
2021-07-09 16:25:23 +02:00
Blaz Kristan
8c9fb956ff
Bugfix for #2066
2021-07-06 22:08:04 +02:00
Blaz Kristan
8769234e28
Merge branch 'master' into dev
2021-07-04 15:29:46 +02:00
Christian Schwinne
793a01f7ca
Bus wrapper simplification ( #2054 )
...
* Use RMTN method
* Simplify BusWrapper
* Update PlatformIO configuration
* Fix non-included dependencies
2021-07-03 13:52:23 +02:00
cschwinne
374457df70
A few small fixes
2021-06-09 12:57:16 +02:00
Blaz Kristan
2fdbc88d8c
Bugfixes.
...
- PWM bus not loading on boot
- analog 0 not turning Off
- conditional compile for Blynk
- segment name
2021-05-23 01:11:35 +02:00
Blaz Kristan
cc0f1be5d2
Bugfix saving PWM & button pins.
2021-05-22 00:13:49 +02:00
Blaz Kristan
bfd7be543a
Merge branch 'master' of https://github.com/aircoookie/WLED into dev
...
Conflicts:
tools/cdata.js
usermods/PIR_sensor_switch/readme.md
usermods/Temperature/readme.md
wled00/FX.h
wled00/FX_fcn.cpp
wled00/bus_manager.h
wled00/bus_wrapper.h
wled00/cfg.cpp
wled00/const.h
wled00/data/settings.htm
wled00/data/settings_leds.htm
wled00/data/settings_um.htm
wled00/html_settings.h
wled00/json.cpp
wled00/mqtt.cpp
wled00/set.cpp
wled00/wled.cpp
wled00/wled.h
wled00/wled_eeprom.cpp
wled00/wled_server.cpp
wled00/xml.cpp
2021-05-18 15:45:34 +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
Eric Severance
8b759bc5d9
TM1814 requires refreshes to remain powered off and a slightly faster refresh speed.
2021-04-25 09:08:02 -07:00
Blaz Kristan
6eafab8286
Per strip "skip first led".
...
Removed RGBW override from UI.
Saving presets uses rev:1 API if possible.
2021-04-07 21:04:54 +02:00
Blaž Kristan
7078c91f7d
Skip first led cleanup.
2021-04-01 12:53:01 +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
Blaž Kristan
23b5fd1c12
BusManager static method.
2021-03-26 11:52:04 +01:00
cschwinne
8a2256e0d8
0.12 beta
2021-03-20 18:43:05 +01:00
Blaz Kristan
8320ed5a92
Bugfixes.
2021-03-07 18:34:06 +01:00
Blaz Kristan
43677685bb
Merge branch 'dev' of https://github.com/aircoookie/WLED into dev
...
Conflicts:
wled00/cfg.cpp
wled00/const.h
wled00/data/settings_leds.htm
wled00/html_settings.h
wled00/set.cpp
wled00/wled.h
wled00/xml.cpp
2021-03-07 17:53:15 +01:00
cschwinne
71edc3a084
Fixed incorrect over-memory indication in LED settings on ESP32
2021-03-06 02:35:49 +01:00
cschwinne
05521bfd3a
Added destructor for BusPwm ( fixes #1789 )
2021-03-04 22:17:25 +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
d433b25627
Fix for deallocation of PWM pins (missing destructor).
2021-03-01 10:27:55 +01:00
Blaz Kristan
bd7671c07e
Debug for analog pin.
...
Minor tweaks.
2021-02-28 22:54:30 +01:00
Blaž Kristan
a899ea8b4d
Prevent RGBW checkbox modification for analog LEDs
2021-02-27 18:46:35 +01:00
Blaz Kristan
7b83b99ac9
Fix for resetting segments.
2021-02-27 12:06:14 +01:00
cschwinne
befeb55349
Memory check on bus creation
2021-02-27 00:57:12 +01:00
Blaz Kristan
c6f575d8d3
Preprocessor fix.
2021-02-26 16:05:05 +01:00
Blaž Kristan
2c0c22dbf3
RGBW override cleanup, UI fix.
2021-02-26 08:34:38 +01:00
Blaz Kristan
3c81337630
PWM pins saving (hack bug) fix. UI changes.
2021-02-25 22:55:49 +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
f24fcfca69
Merge branch 'dev' of https://github.com/aircoookie/WLED into dev
...
Conflicts:
wled00/set.cpp
wled00/xml.cpp
2021-02-24 22:11:27 +01:00
Blaz Kristan
d60506a75d
Skip 1st fix, save LED count, removed reverse.
2021-02-24 21:33:44 +01:00
Blaz Kristan
77dee439e6
1st attempt at 'blazoncek' 0.12
2021-02-24 20:23:32 +01:00
cschwinne
2c0b07387b
Added QuinLED-ESP32-Ethernet type
...
Set 19531 as default ESP32 PWM frequency
2021-02-23 00:47:48 +01:00
Louis Beaudoin
96d5c03a6d
bus_wrapper improvements for SPI output
...
- Identifying ESP32 hardware SPI by pin number is broken and flawed, replace with temporary hack instead until a better method of assigned resources can be devised
- NeoPixelBus doesn't support HSPI, only VSPI right now, so matching HSPI pins to enable a non-existent VSPI driver is broken
- ESP32 SPI peripherals can use alternate pins, so choosing to use hardware SPI only on the default pins is flawed
- Specify pins during Begin() call to allow for alternate pins and avoid driving the chip select signal
- Dotstar Software/Hardware output tested on ESP32, other SPI protocols and ESP8266 support was not tested
2021-02-17 17:03:57 +00: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
67833c5513
getPins() and reversed
2021-01-19 16:51:03 +01:00
cschwinne
d5025fdbcc
Fixed canAllShow() and removeAll()
2021-01-18 20:51:32 +01:00
cschwinne
aeb3f2b018
Fix ESP32
2021-01-17 00:34:34 +01:00
cschwinne
d02bf37167
Fix a few warnings
2021-01-16 21:40:04 +01:00
cschwinne
99dbd9e649
Added bus cleanup
2021-01-16 19:53:08 +01:00
cschwinne
0d63dad8c2
Working getPixelColor()
2021-01-16 17:11:23 +01:00
cschwinne
b934634159
First light from busmanager! (still not usable though)
2021-01-16 00:50:43 +01:00
cschwinne
ef904e01ec
Circular include problem
2021-01-15 15:43:11 +01:00
cschwinne
854501385e
Bus progress
2020-12-07 01:39:42 +01:00
cschwinne
36a0a240f9
First progress in busmnger
2020-12-01 00:33:47 +01:00