Skip to content

Instantly share code, notes, and snippets.

@infovore
Created August 9, 2013 12:01
Show Gist options
  • Save infovore/6193098 to your computer and use it in GitHub Desktop.
Save infovore/6193098 to your computer and use it in GitHub Desktop.
require 'pi_piper'
include PiPiper
pin = PiPiper::Pin.new(:pin => 17, :direction => :out)
pin.off
loop do
pin.on
sleep 1
pin.off
sleep 1
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment