Class: PiDriver::Device::MCP23017::Olat

Inherits:
Register
  • Object
show all
Defined in:
lib/pi_driver/device/mcp23017/register/olat.rb

Instance Attribute Summary

Attributes inherited from Register

#address, #byte

Instance Method Summary collapse

Methods inherited from Register

#mirror_bits_from_byte, #mirror_byte_from_bits, #update_address

Constructor Details

#initialize(options) ⇒ Olat

Returns a new instance of Olat.



5
6
7
8
# File 'lib/pi_driver/device/mcp23017/register/olat.rb', line 5

def initialize(options)
  options[:register] = :olat
  super(options)
end