Skip to content

Commit 16107da

Browse files
authored
Update README.md
1 parent 3fce1e5 commit 16107da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usermods/user_fx/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ We will go into greater detail on how custom effects work in the usermod and how
2121
Below are some helpful variables and functions to know as you start your journey towards WLED effect creation:
2222
* **SEGMENT.intensity / speed / custom1 etc.** -> This syntax helps define the UI sliders that can make certain elements of your running code editable by the user. (These can be controlled by the API as well.)
2323
* **SEGENV.call / step / aux0 / aux1** - these are useful counters for you to use in your code.
24-
* **SEGLEN / SEG_W / SEG_H** -> These variables help define the length and width of your LED strip/matrix. They can be changed at any time if the user sets new segment size(s).
24+
* **SEGLEN / SEG_W / SEG_H** -> These variables are macros that help define the length and width of your LED strip/matrix segment. They can be changed at any time if the user sets new segment size(s).
2525
* **SEGCOLOR(x) / SEGPALETTE** for user colors from UI (and how it relates to meta string)
2626
* explaining available functions for pixel drawing (the ones defined in FX_2Dfcn and FX_fcn, like move(), blur() etc.)
2727
* **SEGMENT.color_from_palette()** function (which should be favoured over ColorFromPalette())

0 commit comments

Comments
 (0)