Class: Denko::DigitalIO::Button

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

Instance Attribute Summary

Attributes included from Behaviors::Listener

#divider

Attributes included from Behaviors::Callbacks

#callback_mutex

Attributes included from Behaviors::Threaded

#interrupts_enabled, #thread

Attributes included from Behaviors::SinglePin

#mode, #pin

Attributes included from Behaviors::Component

#board

Method Summary

Methods inherited from Input

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

Methods included from Behaviors::Listener

#listen, #stop

Methods included from Behaviors::Callbacks

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

Methods included from Behaviors::State

#initialize, #state

Methods included from Behaviors::Poller

#poll, #poll_using, #stop

Methods included from Behaviors::Threaded

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

Methods included from Behaviors::Reader

#_read, #read, #read_using, #wait_for_read

Methods included from Behaviors::InputPin

#_stop_listener

Methods included from Behaviors::Component

#initialize, #micro_delay