Package org.openhab.io.gpio.linux

Examples of org.openhab.io.gpio.linux.GPIOLinux


  public void start(BundleContext context) throws Exception {

    /* Linux user space GPIO implementation, "sysfs" based */
    if (System.getProperty("os.name").toLowerCase().startsWith("linux")) {

      GPIOLinux gpioLinux = new GPIOLinux();

      Dictionary<String, String> properties = new Hashtable<String, String>();
      properties.put("service.pid", "org.openhab.gpio");

      context.registerService(GPIO.class, gpioLinux, null);
View Full Code Here

TOP

Related Classes of org.openhab.io.gpio.linux.GPIOLinux

Copyright © 2018 www.massapicom. 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.