Package com.epam.llpd.greenhouse.sensor

Examples of com.epam.llpd.greenhouse.sensor.Sensor


    private void startSensorReading() {
        sensorReadingThread = new Thread() {
           
            @Override
            public void run() {
                Sensor sensor = new Sensor();
                while(true) {
                    float[] sensData = sensor.readData();
                    temp = sensData[0];
                    hum = sensData[1];
                    try {
                        sleep(5000);
                    } catch (InterruptedException ex) {
View Full Code Here

TOP

Related Classes of com.epam.llpd.greenhouse.sensor.Sensor

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.