Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 71306309 authored by silver2row's avatar silver2row
Browse files

update to relay.rst

parent d71fa2e9
Branches
Tags
1 merge request!99Erasing the older Branch and Starting Anew...
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
BeagleBoard.org BeagleBone Relay Cape BeagleBoard.org BeagleBone Relay Cape
##################################### #####################################
Relay Cape, as the name suggests, is a simple Cape with relays on it. The Relay Cape, as the name suggests, is a simple Cape with relays on it.
It contains four relays, each of which can be operated independently from the BeagleBone. It contains four relays, each of which can be operated independently from the BeagleBone.
.. image:: images/BeagleBoneRelayCapeA2-400x274.png .. image:: images/BeagleBoneRelayCapeA2-400x274.png
...@@ -163,7 +163,7 @@ One thing to note: `sudo apt install cmake` ...@@ -163,7 +163,7 @@ One thing to note: `sudo apt install cmake`
/* /*
Simple gpiod example of toggling a LED connected to a gpio line from Simple gpiod example of toggling a LED connected to a gpio line from
the BeagleBone Black and Relay Cape. the Relay Cape on the BeagleBone Black.
Exits with or without CTRL-C. Exits with or without CTRL-C.
*/ */
...@@ -257,6 +257,9 @@ One thing to note: `sudo apt install cmake` ...@@ -257,6 +257,9 @@ One thing to note: `sudo apt install cmake`
# Getting help from #beagle on IRC # Getting help from #beagle on IRC
# You know who you are currently! # You know who you are currently!
# Run by typing python3 Relay.py or after the command
# chmod a+x Relay.py, use ./Relay.py
from pathlib import Path from pathlib import Path
from time import sleep from time import sleep
...@@ -278,4 +281,4 @@ One thing to note: `sudo apt install cmake` ...@@ -278,4 +281,4 @@ One thing to note: `sudo apt install cmake`
relay_one.set('0') relay_one.set('0')
sleep(2) sleep(2)
These are a few examples on how to use the RelayCape and am335x supported BeagleBone Black SBC. These are a few examples on how to use the Relay Cape and am335x supported BeagleBone Black SBC.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment