Skip to content

Commit e586cfe

Browse files
changed the flow of the advanced setup section so that al the GPIO
setup information is together and then at the end I talk abouut editing the setup.txt file
1 parent aeba942 commit e586cfe

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

src/content/docs/hardware/EMAX/VRX/emax-wyvern-link-vrx.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -87,24 +87,7 @@ It is recommended to flash the latest firmware onto an SDcard and boot from the
8787
### SBC 2.0.0 Beta2 setup for wfb-ng
8888
Download [SBC 2.0.0 Beta](https://github.com/OpenIPC/sbc-groundstations/releases/tag/zero3w-v2.0.0-beta2) and flash onto an SDcard using [belenaEtcher](https://etcher.balena.io/) or your favorite flash utility. After the firmware is flashed remount the SDcard on your PC. The main /config drive will mount (possibly as D:) and allow you to edit the /config/setup.txt and the GPIO files.
8989

90-
Create a new GPIO button layout file /config/scripts/GPIO/Emax.yaml or modify the /config/scripts/GPIO/Custom.yaml file. Modify the setup.txt to use the matching GPIO. Here is an example setup.txt when using a new Emax.yaml file
91-
```
92-
# Set the screen_mode to your HDMI display's desired mode. Format is WxH@fps - Common values would be 1920x1080@60, 1920x1080@120. 1280x720@60, 1280x720@120
93-
[screen mode]
94-
screen_mode = 1920x1080@60
95-
96-
# Set the rec-fps to the fps at which your camera is shooting. e.g. 60, 90, 120
97-
[dvr recording]
98-
rec_fps = 60
99-
100-
# Set the gpio_layout. Accepted values are Ruby, Bonnet, Runcam, and Custom.
101-
[gpio]
102-
gpio_layout = Emax
103-
104-
# Setting osd to "ground" enables the vrx-side msposd_rockchip process.
105-
[msposd]
106-
osd = air
107-
```
90+
Create a new GPIO button layout file /config/scripts/GPIO/Emax.yaml or modify the /config/scripts/GPIO/Custom.yaml file.
10891

10992
The GPIO buttons are mapped as following
11093
![image](/images/emax_vrx_button_GPIO_pins.png)
@@ -146,6 +129,24 @@ gsmenu:
146129
down: 18
147130
```
148131

132+
After editing the GPIO file, modify the setup.txt to use the matching GPIO. Here is an example setup.txt when using a new Emax.yaml file
133+
```
134+
# Set the screen_mode to your HDMI display's desired mode. Format is WxH@fps - Common values would be 1920x1080@60, 1920x1080@120. 1280x720@60, 1280x720@120
135+
[screen mode]
136+
screen_mode = 1920x1080@60
137+
138+
# Set the rec-fps to the fps at which your camera is shooting. e.g. 60, 90, 120
139+
[dvr recording]
140+
rec_fps = 60
141+
142+
# Set the gpio_layout. Accepted values are Ruby, Bonnet, Runcam, and Custom.
143+
[gpio]
144+
gpio_layout = Emax
145+
146+
# Setting osd to "ground" enables the vrx-side msposd_rockchip process.
147+
[msposd]
148+
osd = air
149+
```
149150

150151

151152

0 commit comments

Comments
 (0)