Skip to content

Commit 3853a2e

Browse files
committed
Update README.md
1 parent 45fc41a commit 3853a2e

1 file changed

Lines changed: 16 additions & 9 deletions

File tree

README.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ The following code helps you interfacing a Raspberry Pi (or any computer really)
88

99
### Log in
1010

11-
!!! Note
11+
---
12+
13+
If you're using a regular computer (not a Raspberry), go to the [next step directly](#clone-or-download).
1214

13-
If you're using a regular computer (not a Raspberry), go to the [next step directly](#clone-or-download).
15+
---
1416

1517
If you're using a Raspberry Pi, you'll first have log onto it. If you don't have a screen + keyboard connected to your Raspberry, you can connect using another computer using an RJ45 (ethernet) cable and use SSH. To use SSH, open a terminal (on windows: `Windows key + R`, and then type `powershell` + `Enter`). If you didn't change the default name of the Raspberry,
1618
enter the following command:
@@ -39,14 +41,19 @@ cd Documents/precision_scale-raspberry_pi
3941

4042
Open the file named `parameters.yml` and change the values of the connexion parameters according to the ones given by the manufacturer of the scale, or the one you parameterized onto your scale.
4143

42-
!!! Note
43-
You can use Julia to know which serial port is used for the connexion. Simply execute this code and copy/paste the results into the `portname` value in `parameters.yml`:
44+
---
45+
46+
#### Note
4447

45-
```julia
46-
using Pkg; Pkg.activate(".")
47-
using SerialPorts
48-
list_serialports()
49-
```
48+
You can use Julia to know which serial port is used for the connexion. Simply execute this code and copy/paste the results into the `portname` value in `parameters.yml`:
49+
50+
```julia
51+
using Pkg; Pkg.activate(".")
52+
using SerialPorts
53+
list_serialports()
54+
```
55+
56+
---
5057

5158
### Run the script
5259

0 commit comments

Comments
 (0)