Examples of MBrickletIO4


Examples of org.openhab.binding.tinkerforge.internal.model.MBrickletIO4

      logger.debug("{} found config for DigitalSensor", LoggerConstants.TFINIT);
      setPullUpResistorEnabled(tfConfig.isPullUpResistorEnabled());
      logger.debug("{} pull-up resistor state is {}", LoggerConstants.TFINIT,
          isPullUpResistorEnabled());
    }
    MBrickletIO4 bricklet = getMbrick();
    if (bricklet == null) {
      logger.error("{} No bricklet found for DigitalSensor: {} ", LoggerConstants.TFINIT, subId);
    } else {
      BrickletIO4 brickletIO4 = bricklet.getTinkerforgeDevice();
      try {
        logger.debug("{} setting InterruptListener for DigitalSensorIO4: {} ", LoggerConstants.TFINIT,
            subId);
        listener = new InterruptListener();
        brickletIO4.addInterruptListener(listener);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.