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: docs/advanced/mapping.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This allows us to treat the WLED strip as if it is wired in any way - we can the
12
12
13
13
### How do we do it?
14
14
15
-
Navigate to the edit page for your WLED device by adding `/edit` to its' address - for example, https://my-led-device.local/edit
15
+
Navigate to the edit page for your WLED device by adding `/edit` to its address - for example, https://my-led-device.local/edit
16
16
Use this edit page to create a file called `ledmap.json`.
17
17
18
18
`ledmap.json` file needs to be a JSON formatted file with the the key being "map" and the value being an array of numbers representing the new order of pixels. The _position_ of values in the array is the "natural" order of LEDs and the value entered is the new position.
@@ -22,7 +22,7 @@ If your `ledmap.json` file is not working, check for white-spaces where they sho
22
22
23
23
Multiple maps are supported in the latest versions by using `ledmapx.json` where x is a number. Maps can be selected in a preset using `{"ledmap":x,...`.
24
24
25
-
Use -1 in the map for gaps/blank/nul LEDs.
25
+
Use -1 in the map for gaps/blank/null LEDs.
26
26
27
27
### Examples
28
28
In the below example (formatted multiple ways), we remap a strip of four LEDs from a physical order of 0 1 2 3 into a new order of 0 2 1 3.
@@ -80,4 +80,4 @@ Note that if a `ledmap.json` file exists, the `2d-gaps.json` file will be ignore
80
80
}
81
81
```
82
82
83
-

83
+

0 commit comments