Skip to content

Commit 08fcfdd

Browse files
authored
Update README.md
1 parent 35cc9ee commit 08fcfdd

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
@@ -41,7 +41,7 @@ Below are some helpful variables and functions to know as you start your journey
4141
| [`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. |
4242
| [`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.) |
4343
| [`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. |
4545
| [`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. |
4646
| [`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. |
4747
| [`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

Comments
 (0)