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/moonbase/inputoutput.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ For each board the following presets are defined:
12
12
13
13
* Modded: set when any pin differs from the selected board preset. Press off to return to the preset defaults.
14
14
* Max Power in Watts: adjust the brightness to approach this max power, depending on the number of LEDs used. Default 10: 5V * 2A = 10W (so it runs fine on USB). Used by LED drivers, see [Drivers](../../moonlight/drivers/)
15
-
*Jumper1: If the board contains a jumper, it can define pin behaviour. Eg. select between Infrared and Ethernet.
15
+
*Switch1 and 2: If the board contains a jumper or pins have different functions, a custom switch can be set. Eg. select between Infrared and Ethernet. See boards below for details
16
16
* Pins: Assign functionality to gpio pins. Other modules and nodes use the pin assignments made here.
17
17
* GPIO = gpio_num;
18
18
* Usage: See below
@@ -75,7 +75,12 @@ For each board the following presets are defined:
75
75
* On new ESP32-P4 Nano boards, the WiFi coprocessor needs to be updated first to a recent version, currently ESP-Hosted v2.0.17, see the link in the [MoonLight Installer](../../gettingstarted/installer/)
76
76
* After install, select the **MHC P4 Nano Shield** board preset to have the pins assigned correctly.
77
77
* Assuming 100W LED power; change if needed.
78
-
* Jumper1: off (default): 16 LED pins. On: 8 LED pins, 4 RS-485 pins and 4 exposed pins (set also the switches on the board).
78
+
* Switch1: (set also the switches on the board)
79
+
* off (default): 16 LED pins.
80
+
* On: 8 LED pins, 4 RS-485 pins and 4 exposed pins
81
+
* Switch2:
82
+
* off (default): Pins 10, 11, 12, 13 used for build-in Mic over I2S, pin 7 and 8: I2C SDA and SCL
83
+
* On: Pins 33, 25, 32, 36 used for Line in, pin 7 and 8: additional LED pins.
79
84
* Add the Parallel LED Driver, see [Drivers](../../moonlight/drivers/). It uses [@troyhacks](https://github.com/troyhacks) his parallel IO driver to drive all LED pins configured for the shield.
80
85
81
86
@@ -84,4 +89,4 @@ For each board the following presets are defined:
0 commit comments