Class: Denko::DigitalIO::Button

Inherits:
Input
  • Object
show all
Defined in:
lib/denko/digital_io/button.rb

Constant Summary

Constants included from Behaviors::Lifecycle

Behaviors::Lifecycle::CALLBACK_METHODS

Constants included from Behaviors::Reader

Behaviors::Reader::READ_WAIT_TIME

Constants included from Behaviors::InputPin

Behaviors::InputPin::INPUT_MODES

Instance Attribute Summary

Attributes included from Behaviors::Listener

#divider

Attributes included from Behaviors::State

#state

Attributes included from Behaviors::Threaded

#interrupts_enabled, #thread

Attributes included from Behaviors::SinglePin

#mode, #pin

Attributes included from Behaviors::Component

#board, #params

Method Summary

Methods inherited from Input

#_listen, #_read, #high?, #low?, #on_high, #on_low, #pre_callback_filter

Methods included from Behaviors::Lifecycle

included

Methods included from Behaviors::Listener

#listen, #stop

Methods included from Behaviors::Callbacks

#add_callback, #callbacks, #pre_callback_filter, #remove_callback, #update

Methods included from Behaviors::State

#update_state

Methods included from Behaviors::Poller

#poll, #poll_using, #stop

Methods included from Behaviors::Threaded

#enable_interrupts, included, #mruby_thread_check, #stop, #stop_thread, #threaded, #threaded_loop

Methods included from Behaviors::Reader

#_read, #read, #read_busy?, #read_nb, #read_raw, #read_using, #update

Methods included from Behaviors::InputPin

#_stop_listener, #debounce_time=

Methods included from Behaviors::SinglePin

#convert_pins, #initialize_pins

Methods included from Behaviors::Component

#initialize, #micro_delay