DipSwitch class of PicoRuby
Singleton methods
new
DipSwitch.new(GPIO|nil c_pin, Array[Integer] pin_nums) -> void
Instance methods
read
instance.read() -> Integer
DipSwitch.new(GPIO|nil c_pin, Array[Integer] pin_nums) -> void
instance.read() -> Integer