Class: PiDriver::Device::MCP23017::Gpinten

Inherits:
Register
  • Object
show all
Defined in:
lib/pi_driver/device/mcp23017/register/gpinten.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) ⇒ Gpinten

Returns a new instance of Gpinten.



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

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