Skip to content

Commit 05d5dfa

Browse files
Changed structure
1 parent f0efb32 commit 05d5dfa

File tree

1 file changed

+13
-13
lines changed
  • content/hardware/04.pro/boards/portenta-x8/tutorials/display-output-webgl

1 file changed

+13
-13
lines changed

content/hardware/04.pro/boards/portenta-x8/tutorials/display-output-webgl/content.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ In this tutorial we will go through the steps of how to install, run and remove
3838
- External monitor
3939
- HDMI cable
4040

41-
## Setup the Video Output
41+
## Instructions
42+
43+
### Hardware setup
44+
45+
### Setup the Video Output
4246

4347
The Portenta X8 contains a GPU so its able to manage video and display that content.
4448
By default if you connect the board to a display you will see the "home-screen" with the `Arduino PRO` background wallpaper, and a bottom bar with the real time.
@@ -47,7 +51,7 @@ By default if you connect the board to a display you will see the "home-screen"
4751

4852
[X8 home-screen]()
4953

50-
## Install The Container
54+
### Install The Container
5155

5256
There are two ways to get the container, either through `foundriesFactories` or downloading the container from [portenta-containers repository](https://github.com/arduino/portenta-containers)
5357

@@ -68,15 +72,11 @@ fioctl logout
6872
fioctl login
6973
```
7074

71-
## Setting The Container
72-
73-
### Foundries Option
74-
If you did it within **Foundries.io** you will see the home-screen for some seconds and then it will fade-out and open the Aquarium 3D from [WebGL samples - Aquarium](https://webglsamples.org/aquarium/aquarium.html).
75+
**With Foundries:** If you did it within **Foundries.io** you will see the home-screen for some seconds and then it will fade-out and open the Aquarium 3D from [WebGL samples - Aquarium](https://webglsamples.org/aquarium/aquarium.html).
7576

76-
### "Offline" Option
77-
In case you downloaded the [portenta-containers repository](https://github.com/arduino/portenta-containers) and pushed the container to your Portenta X8, you will need to connect your board directly to your computer and run the `adb shell`.
77+
**With downloaded repository:** In case you downloaded the [portenta-containers repository](https://github.com/arduino/portenta-containers) and pushed the container to your Portenta X8, you will need to connect your board directly to your computer and run the `adb shell`.
7878

79-
#### Connect to a Wi-Fi
79+
### Connect to a Wi-Fi
8080

8181
Check the available Wi-Fi access points
8282
```
@@ -114,7 +114,7 @@ wlan0 wifi connected <customName>
114114
docker0 bridge connected (externally) docker0
115115
```
116116

117-
#### Get Your Board's IP
117+
### Get Your Board's IP
118118
```
119119
ifconfig wlan0
120120
@@ -130,13 +130,13 @@ ssh fio@<localIP>
130130
***To connect through ssh it will request the user's password, which is "fio".***
131131
***If you have troubles connecting with the ssh, please check the troubleshooting section at the end of this tutorial***
132132

133-
#### Copy/push the container
133+
### Copy/push the container
134134
You can push the container from your computer, first open a terminal on the container's directory, then you can use this command to send the container to the Portenta X8:
135135
```
136136
scp <folderName> fio@<portentaX8-IP>:<desiredPath>
137137
```
138138

139-
## Running The Container
139+
### Running The Container
140140
If you get it from **Foundries.io** it will run automatically after few seconds.
141141

142142
In case you copied from the repository, you will need to initialize it with **docker** by accessing your Portenta X8 through ssh, going to the directory where you copied it and run it from there:
@@ -155,7 +155,7 @@ docker-compose up --detach
155155
docker-compose stop
156156
```
157157

158-
## Edit The Output
158+
### Edit The Output
159159
You can change the URL of the web output, by going to the container's directory and editing the `docker-compose.yml` file:
160160
```
161161
//Connect to your device

0 commit comments

Comments
 (0)