hybridgroup / artoo-gpio

Artoo standard drivers for GPIO devices
http://artoo.io
Other
6 stars 9 forks source link

Adds Relay Support #16

Closed juliancheal closed 8 years ago

juliancheal commented 9 years ago

Ability to switch on or more relays on or off.

Added an invert flag for relays which use :low for ON and :high for OFF. The default is invert: false meaning that :high ON and :low is OFF.

Usage is either relay.on/relay.off or relay.toggle