Skip to main content

Robogaia 4 Relay Python Library

Project description



# What

This library controls any version of the Robogaia 4 Relay Board (http://www.robogaia.com/4-relays-raspberry-pi-plateshield.html), on any version of the Raspberry Pi, in python, using GPIO. It is likely highly adaptable to other relay boards as well.

# Progress

This works. It could probably use some tweaks, but it works.

# HOWTO

import time
import robogaia4relaypy as relay4
relay4.Board.init(1) # give version of pinout to use
while True :
relay4.Board.on(1)
time.sleep(1)
relay4.Board.off(1)
time.sleep(1)

# Which Version?

<table>
<tr><td><b>Raspberry Pi Version</b><td><b>Pinout Version</b>
<tr><td>Raspberry Pi Model A<td>1
<tr><td>Raspberry Pi Model B Revision 1<td>1
<tr><td>Raspberry Pi Model B Revision 2<td>2
<tr><td>Raspberry Pi Model B+<td>2
</table>

# License

This is such a small amount of code that it hardly seems to matter, but this software is licensed as GPL 2, GPL 3, or BSD 3-Clause. See the LICENSE file for details.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Robogaia4Relay-0.1.tar.gz (1.3 kB view details)

Uploaded Source

File details

Details for the file Robogaia4Relay-0.1.tar.gz.

File metadata

  • Download URL: Robogaia4Relay-0.1.tar.gz
  • Upload date:
  • Size: 1.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Robogaia4Relay-0.1.tar.gz
Algorithm Hash digest
SHA256 ebe1094e94855c0b263f7b3e268cd6d0e89db2eebf951618ed4d35d55edd7677
MD5 6fb86bdde397b6e1bff87a6c5388aeba
BLAKE2b-256 05afdcdc7d0f4ffc47b0449ef0b0aa997be0e8768cb34c8c7ce9b8e23b243c88

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page