aboutsummaryrefslogtreecommitdiff
path: root/docs/_book/Usage/Configuration.html
diff options
context:
space:
mode:
authorJakob Stendahl <14180120+JakobST1n@users.noreply.github.com>2021-10-11 20:02:04 +0200
committerGitHub <noreply@github.com>2021-10-11 20:02:04 +0200
commitc67531161e56488166a33232f87566309ba8676e (patch)
tree846e59a020e80bea48557d5a06af5728e44961ff /docs/_book/Usage/Configuration.html
parente6880cd8ccf82d993f222cb14b4860581654acb8 (diff)
parentc1b6eec770b885a9829e1f62bad5cc99389ca429 (diff)
downloadLuxcena-Neo-c67531161e56488166a33232f87566309ba8676e.tar.gz
Luxcena-Neo-c67531161e56488166a33232f87566309ba8676e.zip
Merge pull request #24 from JakobST1n/rebuild
v1.0.0
Diffstat (limited to 'docs/_book/Usage/Configuration.html')
-rw-r--r--docs/_book/Usage/Configuration.html508
1 files changed, 0 insertions, 508 deletions
diff --git a/docs/_book/Usage/Configuration.html b/docs/_book/Usage/Configuration.html
deleted file mode 100644
index 28abb96..0000000
--- a/docs/_book/Usage/Configuration.html
+++ /dev/null
@@ -1,508 +0,0 @@
-
-<!DOCTYPE HTML>
-<html lang="" >
- <head>
- <meta charset="UTF-8">
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
- <title>Configuration ยท Luxcena-Neo wiki</title>
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <meta name="description" content="">
- <meta name="generator" content="GitBook 3.2.3">
- <meta name="author" content="JakobST1n">
-
-
-
- <link rel="stylesheet" href="../gitbook/style.css">
-
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-code/plugin.css">
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-pretty-term/terminal.css">
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-hints/plugin-hints.css">
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-comment/plugin.css">
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-emphasize/plugin.css">
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-api/api.css">
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <meta name="HandheldFriendly" content="true"/>
- <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
- <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
-
-
- <link rel="next" href="CLI.html" />
-
-
- <link rel="prev" href="Install.html" />
-
-
- </head>
- <body>
-
-<div class="book">
- <div class="book-summary">
-
-
-<div id="book-search-input" role="search">
- <input type="text" placeholder="Type to search" />
-</div>
-
-
- <nav role="navigation">
-
-
-
-<ul class="summary">
-
-
-
-
-
-
-
-
-
- <li class="chapter " data-level="1.1" data-path="../">
-
- <a href="../">
-
-
- Introduction
-
- </a>
-
-
-
- </li>
-
- <li class="chapter " data-level="1.2" data-path="./">
-
- <a href="./">
-
-
- Usage
-
- </a>
-
-
-
- <ul class="articles">
-
-
- <li class="chapter " data-level="1.2.1" data-path="Install.html">
-
- <a href="Install.html">
-
-
- Install
-
- </a>
-
-
-
- </li>
-
- <li class="chapter active" data-level="1.2.2" data-path="Configuration.html">
-
- <a href="Configuration.html">
-
-
- Configuration
-
- </a>
-
-
-
- </li>
-
- <li class="chapter " data-level="1.2.3" data-path="CLI.html">
-
- <a href="CLI.html">
-
-
- CLI
-
- </a>
-
-
-
- </li>
-
-
- </ul>
-
- </li>
-
- <li class="chapter " data-level="1.3" >
-
- <span>
-
-
- Scripting
-
- </span>
-
-
-
- <ul class="articles">
-
-
- <li class="chapter " data-level="1.3.1" data-path="../Scripting/SupportLib/">
-
- <a href="../Scripting/SupportLib/">
-
-
- Support Library
-
- </a>
-
-
-
- </li>
-
- <li class="chapter " data-level="1.3.2" >
-
- <span>
-
-
- Examples
-
- </span>
-
-
-
- <ul class="articles">
-
-
- <li class="chapter " data-level="1.3.2.1" data-path="../Scripting/Examples/strandtest.html">
-
- <a href="../Scripting/Examples/strandtest.html">
-
-
- Strandtest
-
- </a>
-
-
-
- </li>
-
-
- </ul>
-
- </li>
-
-
- </ul>
-
- </li>
-
- <li class="chapter " data-level="1.4" >
-
- <span>
-
-
- Contributing
-
- </span>
-
-
-
- <ul class="articles">
-
-
- <li class="chapter " data-level="1.4.1" >
-
- <span>
-
-
- Modules
-
- </span>
-
-
-
- <ul class="articles">
-
-
- <li class="chapter " data-level="1.4.1.1" data-path="../Contributing/Modules/CompileAndRun.html">
-
- <a href="../Contributing/Modules/CompileAndRun.html">
-
-
- CompileAndRun
-
- </a>
-
-
-
- </li>
-
-
- </ul>
-
- </li>
-
-
- </ul>
-
- </li>
-
-
-
-
- <li class="divider"></li>
-
- <li>
- <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
- Published with GitBook
- </a>
- </li>
-</ul>
-
-
- </nav>
-
-
- </div>
-
- <div class="book-body">
-
- <div class="body-inner">
-
-
-
-<div class="book-header" role="navigation">
-
-
- <!-- Title -->
- <h1>
- <i class="fa fa-circle-o-notch fa-spin"></i>
- <a href=".." >Configuration</a>
- </h1>
-</div>
-
-
-
-
- <div class="page-wrapper" tabindex="-1" role="main">
- <div class="page-inner">
-
-<div id="book-search-results">
- <div class="search-noresults">
-
- <section class="normal markdown-section">
-
- <h1 id="configuration">Configuration</h1>
-<p>How to setup luxcena-neo to work with your setup</p>
-<hr>
-<pre><code class="lang-bash">$ sudo lux-neo conf
-</code></pre>
-<p>When running the command above, a config file should appear in the editor &apos;nano&apos;.</p>
-<pre><code class="lang-json">{
- <span class="hljs-string">&quot;led_count&quot;</span>: <span class="hljs-number">53</span>,
- <span class="hljs-string">&quot;segments&quot;</span>: [],
- <span class="hljs-string">&quot;matrix&quot;</span>: [],
- <span class="hljs-string">&quot;segmentConfiguration&quot;</span>: <span class="hljs-string">&quot;snake&quot;</span>,
- <span class="hljs-string">&quot;led_pin&quot;</span>: <span class="hljs-number">18</span>,
- <span class="hljs-string">&quot;led_freq_hz&quot;</span>: <span class="hljs-number">800000</span>,
- <span class="hljs-string">&quot;led_dma&quot;</span>: <span class="hljs-number">10</span>,
- <span class="hljs-string">&quot;led_invert&quot;</span>: <span class="hljs-literal">false</span>,
- <span class="hljs-string">&quot;led_channel&quot;</span>: <span class="hljs-number">0</span>
-}
-</code></pre>
-<p><div class="alert alert-success hints-alert"><div class="hints-icon"><i class="fa fa-mortar-board"></i></div><div class="hints-container"><p>If you rather want to use vim or another editor, the file is at <code>/home/lux-neo/userdata/config/strip.json</code></p>
-</div></div></p>
-<h2 id="ledcount">led_count</h2>
-<p>This is the number of LED&apos;s you want to control.</p>
-<h2 id="segments">segments</h2>
-<p>This is a simple list, here you should add the lenghts of all your segments. Please enter the &quot;real&quot; length, and don&apos;t start counting from 0. If you just want one segment, you should just have one element in the list, which is the number of led&apos;s you are controlling.</p>
-<p>When summing this list, it should check out with the &quot;led-count&quot;-option.</p>
-<h2 id="matrix">matrix</h2>
-<p>This is a two dimensonal array, used to arrange the segments in a matrix of your likings. Here you enter the segment-number to represent them. In the example above, all the segments are in one line. If you want to have them in a square, it could look like this:</p>
-<pre><code class="lang-json"><span class="hljs-string">&quot;segments&quot;</span>: [<span class="hljs-number">10</span>, <span class="hljs-number">10</span>, <span class="hljs-number">10</span>, <span class="hljs-number">10</span>, <span class="hljs-number">10</span>, <span class="hljs-number">10</span>, <span class="hljs-number">10</span>, <span class="hljs-number">10</span>, <span class="hljs-number">10</span>],
-<span class="hljs-string">&quot;matrix&quot;</span>: [
- [[<span class="hljs-number">0</span>, <span class="hljs-literal">false</span>], [<span class="hljs-number">1</span>, <span class="hljs-literal">true</span>], [<span class="hljs-number">2</span>, <span class="hljs-literal">false</span>]],
- [[<span class="hljs-number">3</span>, <span class="hljs-literal">true</span>], [<span class="hljs-number">4</span>, <span class="hljs-literal">false</span>], [<span class="hljs-number">5</span>, <span class="hljs-literal">true</span>]],
- [[<span class="hljs-number">6</span>, <span class="hljs-literal">false</span>], [<span class="hljs-number">7</span>, <span class="hljs-literal">true</span>], [<span class="hljs-number">8</span>, <span class="hljs-literal">false</span>]]
-]
-</code></pre>
-<p>Each entry looks is a list, with two parameters, <code>[&lt;segment_number&gt;, &lt;invert&gt;]</code>
-<div class="alert alert-danger hints-alert"><div class="hints-icon"><i class="fa fa-exclamation-circle"></i></div><div class="hints-container"><p>If you don&apos;t have a reference to all the segments or something, the matrix setup will fail. And fall back to &apos;segmentsconfiguration&apos;</p>
-</div></div></p>
-<h2 id="segmentconfiguration">segmentconfiguration</h2>
-<p>If the matrix-option is empty or badly setup. The matrix will be set up using one of these defaults:</p>
-<pre><code>&quot;snake&quot;:
-&quot;line&quot;:
-&quot;random&quot;:
-</code></pre><h2 id="ledpin">led_pin</h2>
-<p>If using the luxcena-shield, you shouldn&apos;t have to worry about this option. But set it to the GPIO-port connected to your pixel&apos;s din-port.</p>
-<h2 id="leddma">led_dma</h2>
-<p><div class="alert alert-danger hints-alert"><div class="hints-icon"><i class="fa fa-exclamation-circle"></i></div><div class="hints-container"><p>If using a newer RPi (3 or newer), leave this as 10! Or your file-system might crash.</p>
-</div></div>
-This is the dma-channel used to generate the data-stream. If you for some reason need channel 10 for something else, you can change it. But i strongly recommend leaving it to 10!</p>
-<h2 id="ledinvert">led_invert</h2>
-<p>This should not be touched, unless you are using a inverting level converter.</p>
-<h2 id="ledchannel">led_channel</h2>
-<p>Leave this as default unless you know what you are doing.</p>
-<hr>
-<p>Now you might want to take a look at the <a href="CLI.html">command line interface</a>.</p>
-
-
- </section>
-
- </div>
- <div class="search-results">
- <div class="has-results">
-
- <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
- <ul class="search-results-list"></ul>
-
- </div>
- <div class="no-results">
-
- <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
-
- </div>
- </div>
-</div>
-
- </div>
- </div>
-
- </div>
-
-
-
- <a href="Install.html" class="navigation navigation-prev " aria-label="Previous page: Install">
- <i class="fa fa-angle-left"></i>
- </a>
-
-
- <a href="CLI.html" class="navigation navigation-next " aria-label="Next page: CLI">
- <i class="fa fa-angle-right"></i>
- </a>
-
-
-
- </div>
-
- <script>
- var gitbook = gitbook || [];
- gitbook.push(function() {
- gitbook.page.hasChanged({"page":{"title":"Configuration","level":"1.2.2","depth":2,"next":{"title":"CLI","level":"1.2.3","depth":2,"path":"Usage/CLI.md","ref":"Usage/CLI.md","articles":[]},"previous":{"title":"Install","level":"1.2.1","depth":2,"path":"Usage/Install.md","ref":"Usage/Install.md","articles":[]},"dir":"ltr"},"config":{"plugins":["code","pretty-term","hints","comment","github","emphasize","api","offline","livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"emphasize":{},"offline":{},"pretty-term":{},"github":{"url":"https://github.com/jakobst1n/luxcena-neo"},"livereload":{},"search":{},"hints":{"danger":"fa fa-exclamation-circle","info":"fa fa-info-circle","tip":"fa fa-mortar-board","working":"fa fa-wrench"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"code":{"copyButtons":true},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"api":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"comment":{"highlightCommented":true}},"theme":"default","author":"JakobST1n","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Luxcena-Neo wiki","gitbook":"*"},"file":{"path":"Usage/Configuration.md","mtime":"2018-11-30T10:47:07.758Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-05T23:08:01.913Z"},"basePath":"..","book":{"language":""}});
- });
- </script>
-</div>
-
-
- <script src="../gitbook/gitbook.js"></script>
- <script src="../gitbook/theme.js"></script>
-
-
- <script src="../gitbook/gitbook-plugin-code/plugin.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-pretty-term/terminal.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-comment/plugin.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-github/plugin.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-api/api.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-offline/service-worker-registration.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-search/search.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
-
-
-
- </body>
-</html>
-