Commit Graph

43 Commits

Author SHA1 Message Date
Blaz Kristan
cf48ad06ed New SPI display SSD1309 for 4LD.
Fixed global I2C usage (no pin allocation in usermods).
Enabled option dor Multi relay.
2023-06-21 23:31:15 +02:00
Blaz Kristan
4ea5723b7f Enhance pin dropdowns.
- add pins for PCF8574 (POC)
- bugfix for saving
Reduced maximum relays to 8.
Changed MultiRelay config parameter name.
2023-06-16 22:06:26 +02:00
Blaz Kristan
b9b072119b Add pin mode. 2023-06-03 22:46:17 +02:00
Blaz Kristan
b6d9fd8030 Usermod fixes
- 4LD: prevent corruption on fast Rotary changes
- Rotary: implement ISR for I2C reading
2023-06-03 17:01:29 +02:00
Blaz Kristan
24537c4fdc Debug data for rotary. 2023-06-01 22:19:09 +02:00
Blaz Kristan
82e448de7c Beta-3 changes
- remove I2C init  from usermods
- PCF8574 (&co) port expander support
- refactor PIR &  Rotary encoder & 4LD
- reboot race condition
- optimisations
2023-05-30 19:36:14 +02:00
srg74
8caeddde15
Spelling check by @wthomson (#2940)
A lot of spelling corrections. Now repo will sound like educated person :)

Co-authored-by: Bill Thomson <bt@kattt.org>
2022-12-10 16:12:55 +01:00
cschwinne
efc476e50b Disable register keyword to reduce compiler warnings
Minor formatting improvements
"ps" string optimization
Removed travis envs
2022-12-03 20:55:17 +01:00
Blaz Kristan
8899684092 Select custom palette bugfix. 2022-11-25 17:33:29 +01:00
ingDIY
503835d47e submitting PR
Here they are the PR #2776, #2803 and #2804 rebased for 0_14 branch,
I hope that now they are OK!
2022-10-02 23:23:24 +02:00
Blaž Kristan
f385af595a Add setMode() and setPalette() methods
- automatically start transition
Implement load FX defaults for HTTP API (FXD)
2022-09-29 12:49:12 +02:00
Blaz Kristan
a46894f395 Bugfixes. 2022-07-19 16:16:43 +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
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
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
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
e146a476bd Effect ID compatibility with WLED-SR
Updated some SR effects.
2022-06-15 17:21:32 +02:00
Blaz Kristan
f1a1b89d13 Fixes.
- correct preset cycling
- updated rotary encoder preset selection
2022-06-03 22:22:18 +02:00
Blaz Kristan
793c878c66 Added display information for hue/sat/preset/cct 2022-06-02 18:30:23 +02:00
Blaz Kristan
17be0a2c12 Enhance rotary encoder with custom sliders.
Soft watchdog timer (by poelzi)
2022-05-24 13:45:35 +02:00
Blaz Kristan
8c31904838 Updated rotary encoder ALT to support modes array. 2022-05-22 12:56:01 +02: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
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
cschwinne
7b969bb8c2 Various state changed logic simplifications
Changed main segment, must be selected
2022-02-16 21:12:33 +01:00
Blaz Kristan
f6b44e03ac Removed unused code in rotary encoder. 2022-02-10 13:09:22 +01:00
Blaž Kristan
0a5a0bef48
Enhanced usermods. (#2522) 2022-02-01 09:33:57 +01:00
Blaz Kristan
80f7c5ed9d Added CCT to rotary encoder. 2022-01-19 20:39:00 +01:00
Blaz Kristan
8d33cbeaca Fix for effect not being applied using rotary encoder. 2022-01-19 16:53:21 +01:00
Blaž Kristan
002b2d0134 Boot logo. 2022-01-05 10:40:26 +01:00
Blaz Kristan
20bc3719a4 Rotary encoder enhancements:
- Added double press action.
- Rewritten button handling.
2022-01-04 22:25:57 +01:00
Blaž Kristan
2f8ba75970 Custom font 2022-01-04 12:10:11 +01:00
Blaz Kristan
b6059939b4 Bugfix for applying WIN API in JSON request.
Added preset cycling in rotary encoder.
Removed custom font from 4LD in favor of built-in.
2022-01-03 22:23:03 +01:00
Blaz Kristan
853463b7cd Bugfixes. 2022-01-02 14:26:09 +01:00
Blaž Kristan
afd376ddbc
Merge branch 'display-enh' into patch-1 2022-01-02 11:34:45 +01:00
Blaz Kristan
964978d45b Optimizations. 2021-12-22 18:37:14 +01:00
Proto-molecule
599490bb6e
bugs
line 436: perhaps this needs to be 256?
2021-12-22 01:18:29 -08:00
Blaž Kristan
061e055d1b Optimizations in ALT rotary encoder & display usermods. 2021-12-21 11:20:11 +01:00
Blaz Kristan
12f2caa8d6 Alt Rotary Encoder & Alt 4LD enhancements. 2021-12-20 20:44:06 +01:00
Blaz Kristan
6463fbee32 Fix for usermod sornt& rotary encoder. 2021-12-19 16:50:55 +01:00
Proto-molecule
05b532b9eb
Add new Usermod (#2244) 2021-10-02 20:19:12 +02:00