Skip to content

Instantly share code, notes, and snippets.

@csexton
Created June 8, 2015 00:04
Show Gist options
  • Save csexton/446699b3433840b1feeb to your computer and use it in GitHub Desktop.
Save csexton/446699b3433840b1feeb to your computer and use it in GitHub Desktop.
require 'pi_piper'
include PiPiper
watch pin: 23 do
puts "Pin changed from #{last_value} to #{value}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment