From 7bf0561cb60813e2b24fe4cfbc97a09c749ccccf Mon Sep 17 00:00:00 2001 From: Ben Nuttall Date: Wed, 14 Oct 2015 12:17:49 +0100 Subject: [PATCH] Remove relay class, re: #66 --- gpiozero/output_devices.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/gpiozero/output_devices.py b/gpiozero/output_devices.py index 6163ba6..078876c 100644 --- a/gpiozero/output_devices.py +++ b/gpiozero/output_devices.py @@ -168,20 +168,6 @@ class LED(DigitalOutputDevice): pass -class Relay(DigitalOutputDevice): - """ - A relay (electro-mechanical switching) component. - - A typical configuration of such a device is to wire the circuit to the NO - (Normally Open) pins of the relay rather than the NC (Normally Closed) pins - for safety. Most relays operate with reversed logic so the `active_high` - parameter defaults to `False` in this class (see OutputDevice for more - information). - """ - def __init__(self, pin=None, active_high=False): - super(Relay, self).__init__(pin, active_high) - - class Buzzer(DigitalOutputDevice): """ A digital Buzzer component.