Commit Graph

30 Commits

Author SHA1 Message Date
Ewoud
a0576ba591 restore MM functionality to not reset segments if 2D settings change!!!
customeffects.js:
- rename downloadCEFile to downloadGHFile
- downloadGHFile: add GH ledmaps folder

FX_fcn.cpp and set.cpp:
- change makeAutoSegments with resetSegments(true)
2023-03-13 21:35:48 +01:00
Ewoud
57b8157e41 Bugfix 2023-02-15 21:38:01 +01:00
Ewoud
ab8b260608 Segment visualization fix show fx name 2023-02-15 18:13:30 +01:00
Ewoud
515c872770 Fix WLED_DISABLE_2D compile error 2023-02-15 10:59:14 +01:00
Ewoud
4ed1473bcc Ledmap not found no toast 2023-02-14 22:17:11 +01:00
Ewoud
40e82166bc Ledmap persistent/consistent and showing in segment graph +small changes
pio.ini: remove ping pong clock from _all
ce.js: change on error handling
liveviewws2D: add colorAdjust
json.cpp: ledmaps will be stored in json/info 
settings_2D: fieldChange at loadJS

FX_(2D)fcn.cpp:
- loadedLedmap default 0 (default)
- loadedLedmap active then only use if index <size

index.js:
- global ledmap set to active value
- draw to drawSegments
- gradient colored leds
- add ledmaps to graphics
- add fetchAndExecute (from custom effects), used by drawSegments to get ledmap contents
- graphics bigger in non pc mode
2023-02-10 16:26:35 +01:00
Ewoud
2a890f5e1e Segments: add graphical display of segments part 1
Custom Effects: Add 🥚🥚 for HBaas effect presons

Index.js/htm:
- add ctx (context)
- add hidden input field fx
- add draw() function for graphics (segment bounds, mirror/reverse/transpose/leds/Nr/FX

settings2D
- move ctx init to draw
- set space 0
- center text
2023-02-06 19:57:25 +01:00
Ewoud
b01893e8fe Random Cycle ☾, ☾ symbol on MM specific features
Adding ☾ symbol on MM specific features
- Custom Effect
- Games
- Generate presets
- Adjusted effects (Stream, Stream 2, GoL, Lissajous, Waverly, GEQ
- Palettes: Random Cycle, Audio Responsive

Bugfix ledmap 2D: delete table
Adding Random Cycle ☾: continues tranisition
2023-01-31 10:40:41 +01:00
Ewoud
91aed65f99 Generate presets !
Fix 1d/2d default in customeffect, games and weather

index.htm: add buttons and text area for genPresets

index.js: add genPresets, uploadFileWithText and savePresetsGen

fx,cpp: set fire 2012 default palette 0 (fire colors)

Bonus: battery USERMOD_BATTERY_MEASUREMENT_PIN default -1
2023-01-12 17:32:11 +01:00
Ewoud
ab22beb0c3 Minor changes 2023-01-07 15:10:21 +01:00
Ewoud
028b12cc5e Custom Effects buttons conform to ? standard 2022-12-21 15:49:40 +01:00
Ewoud
05971a2ffe fix Custom Effect button missing in action 2022-12-21 13:39:42 +01:00
Ewoud
2af9fc3755 Add mm.kno.wled.ge
Change https://kno.wled.ge to https://mm.kno.wled.ge
Change help to ?  button in usermods
Change WeatherUserMod to Weather
2022-12-21 12:30:40 +01:00
Ewoud
949373df91 Add usermod help links for AR, 4LD and weather
Other usermods: 

void appendConfigData()
{
... 
 oappend(SET_F("addInfo('<modname>:help',0,'<a href=\"https:// \">Help</a>');"));
   ...
}
2022-12-19 16:42:07 +01:00
Ewoud
3139f5228d Merge remote-tracking branch 'origin/ac_main' into mdev 2022-12-19 14:00:52 +01:00
Ewoud
27bbccc314 Custom Effects: add fftResult
Version 0.14.0.11
Custom Effects
- Update to wledv033.json
- change sampleAvg to volume
- custom effects is 1d effect (to enable expand function), however 2D just possible!
2022-12-16 14:07:30 +01:00
Ewoud
fc4170292a Very small updates 2022-11-30 19:53:10 +01:00
Ewoud
e799cb5bd1 CustomFX, platformIO and bin name: small updates
platformio: 
- remove ABL_MILLIAMPS_DEFAULT from build_flags_min, set default 1500 in const.h
- add default in wemos_shield_esp32_4MB_max_base
- add wemos_shield_esp32_16MB_SPM1423_max

arti_wled.h: bugfix use all leds in 2D
usermod_v2_customeffects.h: fill black if call==0

index.js and xml.cpp: bin name: replace one _ by ' ' to enable line wrap in info tab and ota update
2022-11-29 15:32:26 +01:00
Frank
dfd839de87 add braces around potentially-empty (debug) else branches
the compiler advises "suggest braces around empty body in an 'else' statement [-Wempty-body]". We follow.
2022-11-24 16:53:58 +01:00
Ewoud
ace3035d4a Small changes and version 0.14.0.6.0
Including 2D peek max 4096 leds
2022-11-24 10:57:18 +01:00
Frank
36bd7147cc small change: fix for potential array bounds violation 2022-10-18 13:40:46 +02:00
Ewowi
ad7769c0ab Merge branch 'custom-effects' into mdev 2022-10-16 14:43:04 +02:00
Ewowi
8447f7399f Add FX_MODE_CUSTOMEFFECT = 187 (fixed!!) 2022-10-16 14:40:24 +02:00
Frank
859dbd5b23 small fix for compiling with IDF v4.4.x
LITTLEFS -> WLED_FS
2022-09-27 12:54:24 +02:00
Ewowi
6e45515527 Move from DynamicJsonDocument to PSRAMDynamicJsonDocument 2022-09-20 11:07:55 +02:00
Ewowi
a20501a6a6 CustomEffects: Remove unused variables which conflict with other mods 2022-09-08 10:20:54 +02:00
Ewowi
06c0c0edfb CustomEffects as usermod: step 4: modify wledv123.json, add drawLine/Arc
General (for CE, but also used by M12_pArc)
- add drawArc

Custom Effects
- add WLEDSR Custom Effects comment to places in WLED where it is hooked in
- move from wled.json to wledv123.json
- rename matrixWidth/Heigth to width/height and use virtualWidth/Height
- remove setPixels
- add drawLine / drawArc
2022-08-31 13:14:51 +02:00
Ewowi
8626855953 Add CustomEffects as usermod: step 3: effects start working 2022-08-30 23:12:04 +02:00
Ewowi
068089751d Add CustomEffects as usermod: step 2: ui works 2022-08-30 12:55:01 +02:00
Ewowi
9a87d2bd8e Add CustomEffects as usermod: step 1: c compiles
- Only C part, it only compiles
- UI to be done
- Needs to be tested
2022-08-29 13:56:46 +02:00