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/develop/development.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@
14
14
15
15
* Want to make changes: fork the repo (see installation)and submit pull requests, see [creating-a-pull-request-from-a-fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork):
16
16
17
-
* Press Branches, press New Branch, give it a name e.g. background-script and press Create new Branch, click on background-script
17
+
*Only branch from the main branch! Press Branches, press New Branch, give it a name e.g. background-script and press Create new Branch, click on background-script
Copy file name to clipboardExpand all lines: docs/develop/nodes.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
@@ -65,19 +65,19 @@ A node implements the following (overloaded) functions:
65
65
66
66
### Initless drivers
67
67
68
-
Initless means there is no addLeds (like in FastLed) or initLed (like in physical and virtual driver):
68
+
Initless means there is no addLeds (like in FastLed) or initLed (like in Parallel LED Driver):
69
69
70
70
* a Context (see below) will be set
71
71
* Driver.show (see below) will use this context to set the right data to the right output.
72
72
* The context can dynamically change without needing to reboot or recompile! e.g. changes in pin allocations, leds per pin, RGB or RGBW, or DMX lights like moving heads.
73
73
74
-
The Art-Net driver is currently working like this, to be added to physical and virtual driver and parallel IO (P4).
74
+
The Art-Net driver is currently working like this, to be added to Parallel LED Driver and parallel IO (P4).
75
75
76
76
The advantages of dynamic context change are:
77
77
78
78
* No need to recompile any changed configs (e.g. colorOrder is fully flexible, not a setting in platformio.ini)
79
79
* No need to restart while setting up a specific installation. Just change layouts until it works as intended.
80
-
* Allows for a flexible mix of different outputs e.g. send the first 1024 leds to physical driver, next to virtual driver, next to spi, next to one Art-Net device, next to another Art-Net device.
80
+
* Allows for a flexible mix of different outputs e.g. send the first 1024 leds to Parallel LED Driver, next to SPI, next to one Art-Net device, next to another Art-Net device.
Copy file name to clipboardExpand all lines: docs/develop/standardsguidelines.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
* Part of submitting a change via a pull request is updated documentation. Functionality and documentation should be in one Pull Request
8
8
* Make minimal changes in upstream (Sveltekit) code, as we need to stay in sync as easy as possible. Add // 🌙 to show a change has been made.
9
9
* The main branch is the source to branch and merge to, no direct code commits to the main branch. As the main branch docs folder is the source for the website, doc changes can be made directly to main.
10
-
*The dev branch is used for latest updates between releases. Optionally branch from dev if latest updates are needed for a change.
10
+
*Branches from main are made for latest updates and merged back to main when done.
11
11
* The src folder is for all MoonBase and MoonLight Nodes and Modules development. No need for UI changes as that is generated for Nodes and Modules. The lib folder is for upstream (Sveltekit). The interface folder is for UI, mainly Sveltekit and Modules and Nodes generic functions.
12
12
* A pull request should contain compilable code and tested to not crash the system at minimal and support also boards without PSRAM, e.g. ESP32-D0. Code may be work in progress.
Copy file name to clipboardExpand all lines: docs/gettingstarted/installation.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,11 +139,11 @@ Keep this page visible until installation complete.
139
139
!!! tip "Choose driver"
140
140
FastLED driver is best to start with if you have a normal (ws2812) LED strip or panel.
141
141
142
-
Choose the Physical driver if you have more then 4 LED strips or panels or non standard LEDS (e.g. RGBW lights, curtains...). Other drivers (Virtual, Hub,) not supported yet.
142
+
Choose the Parallel LED Driver if you have more then 4 LED strips or panels or non standard LEDS (e.g. RGBW lights, curtains...). Other drivers (Virtual, Hub,) not supported yet.
143
143
144
144
In some cases restart the device to make layout changes effective is needed.
145
145
146
-
For ESP32-P4-Nano, choose Physical driver, using the Parallel IO driver by @Troyhacks. Easy quick start: choose Pin 37 and connect a LED strip or panel as follows (Note: the pins on the board the jst connector is plugged in are in order +, Ground, Data !!! - Ignore the wire colors!):
146
+
For ESP32-P4-Nano, choose Parallel LED Driver, using the Parallel IO driver by @Troyhacks. Easy quick start: choose Pin 37 and connect a LED strip or panel as follows (Note: the pins on the board the jst connector is plugged in are in order +, Ground, Data !!! - Ignore the wire colors!):
@@ -30,17 +30,20 @@ Want to add a Driver to MoonLight, see [develop](https://moonmodules.org/MoonLig
30
30
31
31
| Name | Preview | Controls | Remarks
32
32
| ---- | ----- | ---- | ---- |
33
-
|Physical LED Driver | <imgwidth="100"src="https://github.com/user-attachments/assets/9cbe487e-f330-40a5-8b40-6663c83e5d90"/> | <imgwidth="320"alt="Physical"src="https://github.com/user-attachments/assets/0c6f1543-623a-45bf-98d7-f5ddd072a1c6" /> | Drive multiple LED types, all devices including ESP32-P4(-nano) supported<br>Max Power and Light preset: See below<br>DMA buffer: set higher when LEDs flicker|
33
+
|Parallel LED Driver | <imgwidth="100"src="https://github.com/user-attachments/assets/9cbe487e-f330-40a5-8b40-6663c83e5d90"/> | <imgwidth="320"alt="Parallel"src="https://github.com/user-attachments/assets/0c6f1543-623a-45bf-98d7-f5ddd072a1c6" /> | Drive multiple LED types, all devices including ESP32-P4(-nano) supported<br>Max Power and Light preset: See below<br>DMA buffer: set higher when LEDs flicker<br>Virtual LED Driver will be part of the Parallel LED driver.|
34
34
| FastLED Driver | <imgwidth="100"src="https://avatars.githubusercontent.com/u/5899270?s=48&v=4"/> | <imgwidth="320"alt="FastLed"src="https://github.com/user-attachments/assets/d5ea1510-9766-4687-895a-b68c82575b8f" /> | Most used LED driver. Drive most common LEDs (WS2812).<br>Max Power: See below |
35
35
| Art-Net | <imgwidth="100"src="https://github.com/user-attachments/assets/9c65921c-64e9-4558-b6ef-aed2a163fd88"> | <imgwidth="320"alt="Art-Net"src="https://github.com/user-attachments/assets/1428e990-daf7-43ba-9e50-667d51b456eb" /> | Drive LEDS and DMX lights over the network. See below |
36
36
| AudioSync | <imgwidth="100"src="https://github.com/user-attachments/assets/bfedf80b-6596-41e7-a563-ba7dd58cc476"/> | No controls | Listens to audio sent over the local network by WLED-AC or WLED-MM and allows audio reactive effects (♪ & ♫) to use audio data (volume and bands (FFT)) |
37
-
| Virtual LED Driver | <imgwidth="100"src="https://github.com/user-attachments/assets/98fb5010-7192-44db-a5c9-09602681ee15"/> | <imgwidth="100"src="https://github.com/user-attachments/assets/c81d2f56-00d1-4424-a716-8e3c30e76636"/> | Driving max 120! outputs. E.g. 48 panels of 256 LEDs each run at 50-100 FPS using shift registers<br>Not implemented yet |
| IR Driver 🆕🚧 | <imgwidth="100"src="../../media/moonlight/IRDriver.jpeg"/> || Receive IR commands and [Lights Control](https://moonmodules.org/MoonLight/moonlight/lightscontrol/)|
40
39
40
+
41
+
Virtual LED Driver: Driving max 120! outputs. E.g. 48 panels of 256 LEDs each run at 50-100 FPS using shift registers. Not implemented yet
***Max Power**: max amount of power in watts to send to LEDs. Default 10: 5V * 2A = 10W (so it runs fine on USB)
46
+
***Max Power**: max amount of power in watts to send to LEDs. Default 10: 5V * 2A = 10W (so it runs fine on USB). 🆕: Moved to board presets in [Module IO](https://moonmodules.org/MoonLight/moonbase/inputoutput/).
44
47
45
48
***Light preset**: Defines the channels per light and color order
; Do not use the following FastLED settings! As we use the better version of this in Physical driver
13
+
; Do not use the following FastLED settings! As we use the better version of this in Parallel LED Driverer
14
14
; -D FASTLED_USES_ESP32S3_I2S ; S3 boards use the I2S driver (RMT is not supporting more then 4 outputs)
15
15
; -DCOLOR_ORDER_RGB=1 ; not working yet, see also https://github.com/FastLED/FastLED/issues/1966, should use ML_COLOR_ORDER / FastLED.addLeds(RGB_ORDER), workaround change #define COLOR_ORDER_RBG in driver.h
0 commit comments