Package com.mattibal.meshnet.devices

Examples of com.mattibal.meshnet.devices.LedTestDevice


      setupThread.join();
      // Alè, la rete è pronta, adesso posso giocare con i device
     
      Device device = Device.getDeviceFromUniqueId(384932);
      if(device!=null && device instanceof LedTestDevice){
        LedTestDevice ledDevice = (LedTestDevice) device;
        for(int i=0; i<5000; i++){
          ledDevice.setLedState(true);
          Thread.sleep(20);
          ledDevice.setLedState(false);
          Thread.sleep(50);
        }
      } else if(device!=null && device instanceof Led1Analog2Device){
        Led1Analog2Device ledDev = (Led1Analog2Device) device;
        for(int a=0; a<50; a++){
View Full Code Here

TOP

Related Classes of com.mattibal.meshnet.devices.LedTestDevice

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.