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/gettingstarted/installer.md
+14-15Lines changed: 14 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,14 @@
1
1
# MoonLight Installer
2
2
3
-
This page describes how to install <ahref="https://github.com/MoonModules/MoonLight"target="_blank">MoonModules/MoonLight</a> on an ESP32 microcontroller. You need a compatible browser like Chrome, or Edge, not supported on Safari.
3
+
Install <ahref="https://github.com/MoonModules/MoonLight"target="_blank">MoonModules/MoonLight</a> on an ESP32 microcontroller. You need a compatible browser like Chrome, or Edge, not supported on Safari.
4
+
5
+
For devices which have already MoonLight installed, go to [Update](#update-moonlight)
Select your ESP32-device from the table below and press the corresponding Connect button.
26
-
27
-
* In the popup window, your device should show up in this list, press Connect,
28
-
* Press Install MoonLight. Erase when installing MoonLight first time, do not erase if already installed (to preserve settings). Press Next and Install
29
-
* Press Next, go to Logs & Console and press Restart.
30
-
* Close the installer.
27
+
Select your ESP32-device from the table below, press the corresponding **Connect** button and follow the steps. Your device should show up in this list. Press the **Erase** checkbox when installing MoonLight for the first time. After succesful install, go to Logs & Console, press **Restart** and close the installer.
31
28
32
29
!!! info "Bootloader mode"
33
30
If install doesn't work: some boards have to be placed in bootloader mode the first time: press and hold the `Boot` button on the ESP32, press the `Reset` button on the ESP32 and then release the `Boot` button.
@@ -46,10 +43,10 @@ Select your ESP32-device from the table below and press the corresponding Connec
@@ -81,23 +78,23 @@ Go back to your home WiFi open a browser and enter hostname.local to open MoonLi
81
78
82
79
### IO Board Presets
83
80
84
-
Select the specific board you are running in [Module IO](../../moonbase/inputoutput), e.g. premade or custom boards as shown in [hardware](../hardware).
81
+
Select your board in [Module IO](../../moonbase/inputoutput), if you have one of the premade boards supported (see above table), select this. If not sure, leave it as is.
| Human Sized Cube || <imgwidth="320"alt="HCS"src="https://github.com/user-attachments/assets/de1eb424-6838-4af4-8652-89a54929bb03" /> ||
26
-
| Toronto Bar Cubes|| <imgwidth="320"alt="cubes"src="../../media/moonlight/layouts/CeilingCubesControls.png"/> ||
26
+
| Toronto Bar Gourds|| <imgwidth="320"alt="gourds"src="../../media/moonlight/layouts/CeilingCubesControls.png"/> ||
27
27
| Single Column || <imgwidth="320"alt="Single column"src="https://github.com/user-attachments/assets/9f9918b9-e1ee-43a8-a02d-7f1ee182888b" /> | Choose Single Column for LED strips |
28
28
| Single Row || <imgwidth="320"alt="Single row"src="https://github.com/user-attachments/assets/70455279-646c-467d-b8e5-492b1aeae0fa" /> ||
29
29
| SE16 || <imgwidth="320"alt="SE16"src="https://github.com/user-attachments/assets/0efe941a-acf5-4a2c-a7d6-bdfa91574d1a" /> | Layout(s) including pins for Stephan Electronics 16-Pin ESP32-S3 board<br>see below |
for (int i = 0; i < 12; i++) addLight(Coord3D(pos.x * cubeLength + side.x, pos.y * cubeLength + side.y, pos.z * cubeLength + side.z)); // each side has 12 leds, all mapped to the same virtual pixel
273
+
for (int i = 0; i < 12; i++) addLight(Coord3D(pos.x * gourdLength + side.x, pos.y * gourdLength + side.y, pos.z * gourdLength + side.z)); // each side has 12 leds, all mapped to the same virtual pixel
// modify to whatever cube order and nr of cubes in a 3D grid space
305
-
Coord3D cubes[] = {
304
+
// modify to whatever gourd order and nr of gourds in a 3D grid space
305
+
Coord3D gourds[] = {
306
306
//
307
307
Coord3D(0, 0, 0),
308
308
Coord3D(1, 0, 0),
@@ -335,22 +335,22 @@ class TorontoBarCubesLayout : public Node {
335
335
Coord3D(3, 2, 1) //
336
336
};
337
337
338
-
uint8_tcubeCounter = 0;
338
+
uint8_tgourdCounter = 0;
339
339
340
-
for (Coord3D cube : cubes) {
341
-
if (granularity == 0) { // one cube one light
342
-
addCube(cube);
340
+
for (Coord3D gourd : gourds) {
341
+
if (granularity == 0) { // one gourd one light
342
+
addGourd(gourd);
343
343
} elseif (granularity == 1) { // one side one light
344
-
addCubeSides(cube);
344
+
addGourdSides(gourd);
345
345
} elseif (granularity == 2) { // one LED one light
346
-
addCubePixels(cube);
346
+
addGourdPixels(gourd);
347
347
}
348
348
349
-
cubeCounter++;
350
-
if (cubeCounter % 10 == 0) nextPin(); // will not be used by Art-Net but in case of using a LED driver, every 10 cubes (61 LEDs each) will be on a separate pin
349
+
gourdCounter++;
350
+
if (gourdCounter % 10 == 0) nextPin(); // will not be used by Art-Net but in case of using a LED driver, every 10 gourds (61 LEDs each) will be on a separate pin
351
351
}
352
352
353
-
if (cubeCounter % 10 != 0) nextPin(); // add final pin
353
+
if (gourdCounter % 10 != 0) nextPin(); // add final pin
0 commit comments