From 1f06951acbe0db81efe66c3532a2e5df6d609613 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 11 Oct 2022 02:11:26 -0400 Subject: [PATCH] spelling: to Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- 2-farm/lessons/3-automated-plant-watering/wio-terminal-relay.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-farm/lessons/3-automated-plant-watering/wio-terminal-relay.md b/2-farm/lessons/3-automated-plant-watering/wio-terminal-relay.md index 3467c1d1..ae4ed0de 100644 --- a/2-farm/lessons/3-automated-plant-watering/wio-terminal-relay.md +++ b/2-farm/lessons/3-automated-plant-watering/wio-terminal-relay.md @@ -38,7 +38,7 @@ Program the device. 1. Open the `soil-moisture-sensor` project from the last lesson in VS Code if it's not already open. You will be adding to this project. -1. There isn't a library for this actuator - it's a digital actuator controlled by a high or low signal. To turn it on, you send a high signal to the pin (3.3V), turn turn it off you send a low signal (0V). You can do this using the built-in Arduino [`digitalWrite`](https://www.arduino.cc/reference/en/language/functions/digital-io/digitalwrite/) function. Start by adding the following to the bottom of the `setup` function to setup the combined I2C/digital port as an output pin to send a voltage to the relay: +2. There isn't a library for this actuator - it's a digital actuator controlled by a high or low signal. To turn it on, you send a high signal to the pin (3.3V), to turn it off you send a low signal (0V). You can do this using the built-in Arduino [`digitalWrite`](https://www.arduino.cc/reference/en/language/functions/digital-io/digitalwrite/) function. Start by adding the following to the bottom of the `setup` function to setup the combined I2C/digital port as an output pin to send a voltage to the relay: ```cpp pinMode(PIN_WIRE_SCL, OUTPUT);