Skip to content

Commit 913e0ce

Browse files
authored
Merge pull request #1015 from arduino/mcmchris-patch-1
Fixed typo.
2 parents bf9740c + fd75097 commit 913e0ce

File tree

1 file changed

+1
-1
lines changed
  • content/hardware/05.pro-solutions/solutions-and-kits/edge-control/tutorials/motorized-ball-valve

1 file changed

+1
-1
lines changed

content/hardware/05.pro-solutions/solutions-and-kits/edge-control/tutorials/motorized-ball-valve/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void setup(){
7474
}
7575
```
7676

77-
As mentioned earlier, the 2 Input Pins of the latching circuit are primarily used to control the direction of the output signal. The `<Arduino_EdgeControl.h>` provides various methods to access and control these pins. The command `Latching.chennalDirection(LATCHING_OUT_1, direction)` is a method that can be used to assign a signal direction to a specific pin on the board through the parameters.
77+
As mentioned earlier, the 2 Input Pins of the latching circuit are primarily used to control the direction of the output signal. The `<Arduino_EdgeControl.h>` provides various methods to access and control these pins. The command `Latching.channelDirection(LATCHING_OUT_1, direction)` is a method that can be used to assign a signal direction to a specific pin on the board through the parameters.
7878

7979
Inside the `loop()` you will add the instructions to open and close the valve. `Latching.channelDirection()` with the parameter `LATCHING_OUT_1` to access the 1N:1P pins and the parameters, `POSITIVE` or `NEGATIVE` for the direction. If you want the valve to open you can use the function as such,
8080

0 commit comments

Comments
 (0)