Skip to content

Commit bb1b45b

Browse files
author
committed
Deployed fdba2a9 with MkDocs version: 1.6.1
1 parent 62320b2 commit bb1b45b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

advanced/mapping/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2614,13 +2614,13 @@ <h1>Mapping</h1>
26142614
<h3 id="what-is-it">What is it?</h3>
26152615
<p>This allows us to treat the WLED strip as if it is wired in any way - we can then use the mapping feature to address the strip in any order. This allows for matrix support, serpentine runs and such.</p>
26162616
<h3 id="how-do-we-do-it">How do we do it?</h3>
2617-
<p>Navigate to the edit page for your WLED device by adding <code>/edit</code> to its' address - for example, https://my-led-device.local/edit
2617+
<p>Navigate to the edit page for your WLED device by adding <code>/edit</code> to its address - for example, https://my-led-device.local/edit
26182618
Use this edit page to create a file called <code>ledmap.json</code>.</p>
26192619
<p><code>ledmap.json</code> 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 <em>position</em> of values in the array is the "natural" order of LEDs and the value entered is the new position.</p>
26202620
<p>The ArduinoJSON library is <strong><em>*</em>extremely</strong>*** white-space sensitive.
26212621
If your <code>ledmap.json</code> file is not working, check for white-spaces where they should not be. The LED positions are zero-indexed.</p>
26222622
<p>Multiple maps are supported in the latest versions by using <code>ledmapx.json</code> where x is a number. Maps can be selected in a preset using <code>{"ledmap":x,...</code>.</p>
2623-
<p>Use -1 in the map for gaps/blank/nul LEDs.</p>
2623+
<p>Use -1 in the map for gaps/blank/null LEDs.</p>
26242624
<h3 id="examples">Examples</h3>
26252625
<p>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.</p>
26262626
<div class="highlight"><pre><span></span><code>{&quot;map&quot;:[0,2,1,3]}

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)