Skip to content

Commit 9efb427

Browse files
Update README.md
1 parent e900c2d commit 9efb427

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,15 @@ Pkg.add("PiGPIO")
5757

5858
using PiGPIO
5959

60-
pi=Pi() #connect to pigpiod daemon on localhost
60+
pi=Pi() # connect to the pigpiod daemon on localhost
6161
```
6262

6363
## Example Usage
6464

65+
The `pin` number corresponds to the GPIO pins
66+
(General Purpose Input/Output, aka "BCM" or "Broadcom") and not
67+
to the physical pin numbers.
68+
6569
```julia
6670
set_mode(pi::Pi, pin::Int, mode)
6771
get_mode(pi::Pi, pin::Int)

0 commit comments

Comments
 (0)