You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: usermods/user_fx/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ Below are some helpful variables and functions to know as you start your journey
41
41
|[`SEGENV.call`](https://github.com/wled/WLED/blob/main/wled00/FX.h)| 32-bit | A counter for how many times this effect function has been invoked since it started. |
42
42
|[`strip.now`](https://github.com/wled/WLED/blob/main/wled00/FX.h)| 32-bit | Current timestamp in milliseconds. (Equivalent to `millis()`, but use `strip.now()` instead.) |
43
43
|[`SEGLEN / SEG_W / SEG_H`](https://github.com/wled/WLED/blob/main/wled00/FX_fcn.cpp)| 16-bit | These variables are macros that help define the length and width of your LED strip/matrix segment. |
44
-
|[`SEGPALETTE`]((https://github.com/danewhero/WLED/blob/user_fx/wled00/FX.h)| --- | Macro that gets the currently selected palette for the currently processing segment. |
44
+
|[`SEGPALETTE`](https://github.com/danewhero/WLED/blob/user_fx/wled00/FX.h)| --- | Macro that gets the currently selected palette for the currently processing segment. |
45
45
|[`hw_random8()`](https://github.com/wled/WLED/blob/7b0075d3754fa883fc1bbc9fbbe82aa23a9b97b8/wled00/fcn_declare.h#L535)| 8-bit | One of several functions that generates a random integer. |
46
46
|[`SEGCOLOR(x)`](https://github.com/wled/WLED/blob/main/wled00/FX.h)| 32-bit | Macro that gets user-selected colors from UI, where x is an integer 1, 2, or 3 for primary, secondary, and tertiary colors, respectively. |
47
47
|[`SEGMENT.setPixelColor`](https://github.com/danewhero/WLED/blob/user_fx/wled00/FX_fcn.cpp) / [`setPixelColorXY`](https://github.com/danewhero/WLED/blob/user_fx/wled00/FX_2Dfcn.cpp)| --- | Fuction that paints a single pixel to your specified color. `setPixelColor` assumes 1D array and requires one positional argument, while `setPixelColorXY` takes two positional arguments (x and y), and then the RBG color value. |
0 commit comments