Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth authored Nov 12, 2024
1 parent e900c2d commit 9efb427
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,15 @@ Pkg.add("PiGPIO")

using PiGPIO

pi=Pi() #connect to pigpiod daemon on localhost
pi=Pi() # connect to the pigpiod daemon on localhost
```

## Example Usage

The `pin` number corresponds to the GPIO pins
(General Purpose Input/Output, aka "BCM" or "Broadcom") and not
to the physical pin numbers.

```julia
set_mode(pi::Pi, pin::Int, mode)
get_mode(pi::Pi, pin::Int)
Expand Down

0 comments on commit 9efb427

Please sign in to comment.