Method: PiPiper::Pin#wait_for_change

Defined in:
lib/pi_piper/pin.rb

#wait_for_changeObject

Blocks until a logic level change occurs. The initializer option `:trigger` modifies what edge this method will release on.


141
142
143
# File 'lib/pi_piper/pin.rb', line 141

def wait_for_change
  Platform.driver.pin_wait_for(@pin, @trigger)
end