DipSwitch class of PicoRuby

Singleton methods

new

DipSwitch.new(GPIO|nil c_pin, Array[Integer] pin_nums) -> instance

Instance methods

read

instance.read() -> Integer
Tags: class