We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74f2154 commit c71f694Copy full SHA for c71f694
README.md
@@ -54,14 +54,14 @@ pi=Pi() #connect to pigpiod daemon on localhost
54
## Example Usage
55
56
```julia
57
-set_mode(p::Pi, pin::Int, mode)
58
-get_mode(p::Pi, pin::Int)
59
-# mode can be INPUT or OUTPUT
+set_mode(pi::Pi, pin::Int, mode)
+get_mode(pi::Pi, pin::Int)
+# mode can be PiGPIO.INPUT or PiGPIO.OUTPUT
60
61
-PiGPIO.read(p, pin)
62
-PiGPIO.write(p, pin, state)
63
-#state can be HIGH, LOW, ON, OFF
+PiGPIO.read(pi, pin)
+PiGPIO.write(pi, pin, state)
+# state can be PiGPIO.HIGH, PiGPIO.LOW, PiGPIO.ON, PiGPIO.OFF
64
65
-PiGPIO.set_PWM_dutycycle(p, pin, dutycyle)
66
-#dutycyle defaults to a range 0-255
+PiGPIO.set_PWM_dutycycle(pi, pin, dutycyle)
+# dutycyle defaults to a range 0-255
67
```
0 commit comments