class PiDriver::Device::MCP23017::Port

Constants

A
B
VALID_PORTS

Public Class Methods

default(options) click to toggle source
# File lib/pi_driver/device/mcp23017/port.rb, line 13
def self.default(options)
  if options[:register] == MCP23017::Register::RegisterHelper::IODIR
    Utils::Byte::ALL_BITS_HIGH
  else
    Utils::Byte::ALL_BITS_LOW
  end
end