I suspect this is the Relay board you have: https://beagleboard.org/capes
Have you looked at? https://github.com/beagleboard/capes Mala had recently posted questions regarding this board. Have you seen this: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/beagleboard/Zv7LaRV3TKU/WzPzcbrjBwAJ Also, which Beagle Board are you connecting this to? Relay, Jon On Mon, Apr 6, 2020 at 6:07 PM Mala Dies <[email protected]> wrote: > Hello KenUnix, > > Seth here. I will need to type one up. I found a book a while back on > setting up GPIO pins in C/C++ (more towards C than C++). Anyway... > > I think I can assist in this matter. > > ... > > I think that Adafruit_BBIO and some other libraries might go extinct soon. > I am not familiar enough w/ Python to write my own library just yet. > > I am not familiar enough w/ C/C++ to type up an entire library yet either, > e.g. mostly due to headers in C/C++ and import OS and others in Python. > > Seth > > P.S. Anyway, the book is Exploring BeagleBone by Molloy. I will get on > this task soon. Please bear w/ me on this endeavor. > > On Monday, April 6, 2020 at 7:33:41 PM UTC-5, KenUnix wrote: >> >> >> Could someone display an example of operating and releasing a relay in >> 'c'? >> And if possible getting the current state of the relay. Operated or >> released >> . >> I have the relay cape from Mouser 958-RLYCPE-BBBCAPE GHI installed. >> >> Relay Cape. From what I read. >> Relay 1 gpio20 >> Relay 2 gpio 7 >> Relay 3 gpio112 >> Relay 4 gpio115 >> >> If possible code not requiring libraries or header files not normally on >> the BBB image (RCN 10.3 Debian IoT) >> unless I can download any required files from a URL. >> >> Thanks >> >> This is what I found so far (thanks zmatt) >> relay 1 - P9.41 - gpio 0.20 (gpio20) >> relay 2 - P9.42 - gpio 0.07 (gpio7) >> relay 3 - P9.30 - gpio 3.16 (gpio112) >> relay 4 - P9.27 - gpio 3.19 (gpio115) >> >> >> >> > On Monday, April 6, 2020 at 7:33:41 PM UTC-5, KenUnix wrote: >> >> >> Could someone display an example of operating and releasing a relay in >> 'c'? >> And if possible getting the current state of the relay. Operated or >> released >> . >> I have the relay cape from Mouser 958-RLYCPE-BBBCAPE GHI installed. >> >> Relay Cape. From what I read. >> Relay 1 gpio20 >> Relay 2 gpio 7 >> Relay 3 gpio112 >> Relay 4 gpio115 >> >> If possible code not requiring libraries or header files not normally on >> the BBB image (RCN 10.3 Debian IoT) >> unless I can download any required files from a URL. >> >> Thanks >> >> This is what I found so far (thanks zmatt) >> relay 1 - P9.41 - gpio 0.20 (gpio20) >> relay 2 - P9.42 - gpio 0.07 (gpio7) >> relay 3 - P9.30 - gpio 3.16 (gpio112) >> relay 4 - P9.27 - gpio 3.19 (gpio115) >> >> >> >> -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/4f08bce6-61dc-4d9b-8471-b2fde68afcaf%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/4f08bce6-61dc-4d9b-8471-b2fde68afcaf%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAG99bkq6H6A2fsUPbDd2iDK_1TjXH4uf19C-L6e-5wr9KrG-_Q%40mail.gmail.com.
