From 2d7561e7c8e1482e7a599c847a53158552d209f1 Mon Sep 17 00:00:00 2001 From: pdxlocations <117498748+pdxlocations@users.noreply.github.com> Date: Fri, 2 Jun 2023 05:22:14 -0700 Subject: [PATCH 1/3] Update gpio-peripherals.mdx Clarified the build instructions. The LED polarity wasn't specified. --- docs/configuration/gpio-peripherals.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/configuration/gpio-peripherals.mdx b/docs/configuration/gpio-peripherals.mdx index cd7b88ec..ea11d537 100644 --- a/docs/configuration/gpio-peripherals.mdx +++ b/docs/configuration/gpio-peripherals.mdx @@ -59,7 +59,7 @@ The procedure using the python command line tool is: meshtastic --seturl theurlyoucopiedinstep3 ``` -Now both devices should be able to talk over the `gpio` channel. Send a text message from one to the other to verify. Also run `--nodes` to verify the second node shows up. +Now both devices should be able to talk over the `gpio` channel. Send a text message from one the other other verify. Also run `--nodes` to verify the second node shows up. ### Masks @@ -132,9 +132,9 @@ You can add a simple LED and resistor to validate that the GPIO operations work ### Preparation 1. Disconnect the remote device from power (battery/usb) -2. Add a resistor from yellow wire to the one end of the LED (either end of the resistor is OK, either end of the LED is OK) -3. Add the yellow wire from a GPIO pin that will not cause any issues (ex: for TLoraV1, we can use GPIO21) -4. Add the black "ground" wire from the ground pin on the device (ex: for TLoraV1 it is the end pin next to the RST button) to the other end of the LED +2. Connect the resistor to the longer (positive) lead of the LED and the yellow wire to the other end of the resistor +3. Connect the other end of the yellow wire to a GPIO pin that will not cause any issues (ex: for TLoraV1, we can use GPIO21) +4. Connect the black "ground" wire from the ground pin on the device (ex: for TLoraV1 it is the end pin next to the RST button) to the shorter (negative) lead of the LED 5. Power on the device ### Validation From 4b8862ecdc55e8afdd47c5afa220cc1d6689e763 Mon Sep 17 00:00:00 2001 From: pdxlocations <117498748+pdxlocations@users.noreply.github.com> Date: Fri, 2 Jun 2023 10:11:59 -0700 Subject: [PATCH 2/3] Update gpio-peripherals.mdx fixed un-fixed typo --- docs/configuration/gpio-peripherals.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/gpio-peripherals.mdx b/docs/configuration/gpio-peripherals.mdx index ea11d537..f641ad1b 100644 --- a/docs/configuration/gpio-peripherals.mdx +++ b/docs/configuration/gpio-peripherals.mdx @@ -59,7 +59,7 @@ The procedure using the python command line tool is: meshtastic --seturl theurlyoucopiedinstep3 ``` -Now both devices should be able to talk over the `gpio` channel. Send a text message from one the other other verify. Also run `--nodes` to verify the second node shows up. +Now both devices should be able to talk over the `gpio` channel. Send a text message from one to the other verify. Also run `--nodes` to verify the second node shows up. ### Masks From 19477e1722f55bb9a378c54d2615a56c6d8e72fa Mon Sep 17 00:00:00 2001 From: pdxlocations <117498748+pdxlocations@users.noreply.github.com> Date: Fri, 2 Jun 2023 10:14:06 -0700 Subject: [PATCH 3/3] Update gpio-peripherals.mdx forgot a word --- docs/configuration/gpio-peripherals.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/gpio-peripherals.mdx b/docs/configuration/gpio-peripherals.mdx index f641ad1b..707b850a 100644 --- a/docs/configuration/gpio-peripherals.mdx +++ b/docs/configuration/gpio-peripherals.mdx @@ -59,7 +59,7 @@ The procedure using the python command line tool is: meshtastic --seturl theurlyoucopiedinstep3 ``` -Now both devices should be able to talk over the `gpio` channel. Send a text message from one to the other verify. Also run `--nodes` to verify the second node shows up. +Now both devices should be able to talk over the `gpio` channel. Send a text message from one to the other to verify. Also run `--nodes` to verify the second node shows up. ### Masks