Method: IoT::Button#wait_for_press

Defined in:
lib/iot/button.rb

#wait_for_pressObject

Wait for the 1st pressing of button



44
45
46
# File 'lib/iot/button.rb', line 44

def wait_for_press
  wait_for_presses(1)
end