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