Class MCP23017GpioProviderExt

java.lang.Object
com.pi4j.io.gpio.GpioProviderBase
com.pi4j.gpio.extension.mcp.MCP23017GpioProvider
com.ibasco.ucgdisplay.drivers.clcd.providers.MCP23017GpioProviderExt
All Implemented Interfaces:
com.pi4j.io.gpio.GpioProvider

public class MCP23017GpioProviderExt extends com.pi4j.gpio.extension.mcp.MCP23017GpioProvider
  • Field Summary

    Fields inherited from class com.pi4j.gpio.extension.mcp.MCP23017GpioProvider

    DEFAULT_ADDRESS, DEFAULT_POLLING_TIME, DESCRIPTION, NAME

    Fields inherited from class com.pi4j.io.gpio.GpioProviderBase

    cache, DEFAULT_CACHE_SIZE, isshutdown, listeners
  • Constructor Summary

    Constructors
    Constructor
    Description
    MCP23017GpioProviderExt​(int busNumber, int address)
     
    MCP23017GpioProviderExt​(int busNumber, int address, int pollingTime)
     
    MCP23017GpioProviderExt​(com.pi4j.io.i2c.I2CBus bus, int address)
     
    MCP23017GpioProviderExt​(com.pi4j.io.i2c.I2CBus bus, int address, int pollingTime)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    short
     
    void
    setState​(short state)
     

    Methods inherited from class com.pi4j.gpio.extension.mcp.MCP23017GpioProvider

    export, getMode, getName, getPullResistance, getState, setMode, setPollingTime, setPullResistance, setState, shutdown, unexport

    Methods inherited from class com.pi4j.io.gpio.GpioProviderBase

    addListener, dispatchPinAnalogValueChangeEvent, dispatchPinDigitalStateChangeEvent, export, getPinCache, getPwm, getValue, hasPin, isExported, isShutdown, removeAllListeners, removeListener, setPwm, setPwmRange, setValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.pi4j.io.gpio.GpioProvider

    addListener, export, getPwm, getValue, hasPin, isExported, isShutdown, removeAllListeners, removeListener, setPwm, setPwmRange, setValue
  • Constructor Details

    • MCP23017GpioProviderExt

      public MCP23017GpioProviderExt(int busNumber, int address) throws com.pi4j.io.i2c.I2CFactory.UnsupportedBusNumberException, IOException
      Throws:
      com.pi4j.io.i2c.I2CFactory.UnsupportedBusNumberException
      IOException
    • MCP23017GpioProviderExt

      public MCP23017GpioProviderExt(int busNumber, int address, int pollingTime) throws IOException, com.pi4j.io.i2c.I2CFactory.UnsupportedBusNumberException
      Throws:
      IOException
      com.pi4j.io.i2c.I2CFactory.UnsupportedBusNumberException
    • MCP23017GpioProviderExt

      public MCP23017GpioProviderExt(com.pi4j.io.i2c.I2CBus bus, int address) throws IOException
      Throws:
      IOException
    • MCP23017GpioProviderExt

      public MCP23017GpioProviderExt(com.pi4j.io.i2c.I2CBus bus, int address, int pollingTime) throws IOException
      Throws:
      IOException
  • Method Details