{ "info": { "author": "Eric Stein", "author_email": "toba@des.truct.org", "bugtrack_url": null, "classifiers": [], "description": "\n\n# What\n\nThis 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.\n\n# Progress\n\nThis works. It could probably use some tweaks, but it works.\n\n# HOWTO\n\n import time\n import robogaia4relaypy as relay4\n relay4.Board.init(1) # give version of pinout to use\n while True :\n relay4.Board.on(1)\n time.sleep(1)\n relay4.Board.off(1)\n time.sleep(1)\n\n# Which Version?\n\n
| Raspberry Pi Version | Pinout Version\n |
| Raspberry Pi Model A | 1\n |
| Raspberry Pi Model B Revision 1 | 1\n |
| Raspberry Pi Model B Revision 2 | 2\n |
| Raspberry Pi Model B+ | 2\n |