aboutsummaryrefslogtreecommitdiff
path: root/docs/Usage/Configuration.md
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/Usage/Configuration.md
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/Usage/Configuration.md')
-rw-r--r--docs/Usage/Configuration.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/Usage/Configuration.md b/docs/Usage/Configuration.md
index f13d639..c715a75 100644
--- a/docs/Usage/Configuration.md
+++ b/docs/Usage/Configuration.md
@@ -22,9 +22,9 @@ When running the command above, a config file should appear in the editor 'nano'
"led_channel": 0
}
```
-{% hint style='tip' %}
-If you rather want to use vim or another editor, the file is at `/home/lux-neo/userdata/config/strip.json`
-{% endhint %}
+
+??? tip "Tip - Change editor"
+ If you rather want to use vim or another editor, the file is at `/home/lux-neo/userdata/config/strip.json`
## led_count
@@ -49,15 +49,15 @@ This is a two dimensonal array, used to arrange the segments in a matrix of your
]
```
Each entry looks is a list, with two parameters, `[<segment_number>, <invert>]`
-{% hint style='danger' %}
-If you don't have a reference to all the segments or something, the matrix setup will fail. And fall back to 'segmentsconfiguration'
-{% endhint %}
+!!! danger "Warning"
+ If you don't have a reference to all the segments or something, the matrix setup will fail. And fall back to 'segmentsconfiguration'
+
## segmentconfiguration
If the matrix-option is empty or badly setup. The matrix will be set up using one of these defaults:
-```
+```json
"snake":
"line":
"random":
@@ -67,9 +67,9 @@ If the matrix-option is empty or badly setup. The matrix will be set up using on
If using the luxcena-shield, you shouldn't have to worry about this option. But set it to the GPIO-port connected to your pixel's din-port.
## led_dma
-{% hint style='danger' %}
-If using a newer RPi (3 or newer), leave this as 10! Or your file-system might crash.
-{% endhint %}
+!!! danger "Warning"
+ If using a newer RPi (3 or newer), leave this as 10! Or your file-system might crash.
+
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!
## led_invert