Skip to content

Instantly share code, notes, and snippets.

@seebq
Created November 10, 2013 21:01
Show Gist options
  • Save seebq/7403906 to your computer and use it in GitHub Desktop.
Save seebq/7403906 to your computer and use it in GitHub Desktop.
#!/bin/sh
# From: http://www.openremote.org/display/docs/OpenRemote+2.0+How+To+-+Control+Somfy+Sunshades+with+Raspberry+Pi
PIN=$1
/usr/local/bin/gpio mode $PIN out
/usr/local/bin/gpio write $PIN 1
sleep 0.1
/usr/local/bin/gpio write $PIN 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment