HomeSort by relevance Sort by last modified time
    Searched refs:moisture_val (Results 1 - 3 of 3) sorted by null

  /hardware/bsp/intel/peripheral/libupm/examples/java/
GroveMoistureSample.java 40 int moisture_val = gm.value(); local
43 if (moisture_val >= 0 && moisture_val < 300)
45 else if ((moisture_val >= 0 && moisture_val < 300))
50 System.out.println("Moisture Value: " + moisture_val + ", " + result);
  /hardware/bsp/intel/peripheral/libupm/examples/javascript/
grovemoisture.js 42 var moisture_val = parseInt(myMoistureObj.value());
43 if (moisture_val >= 0 && moisture_val < 300)
45 else if (moisture_val >= 300 && moisture_val < 600)
49 console.log("Moisture value: " + moisture_val + ", " + result);
  /hardware/bsp/intel/peripheral/libupm/examples/python/
grovemoisture.py 53 moisture_val = myMoisture.value()
54 if (moisture_val >= 0 and moisture_val < 300):
56 elif (moisture_val >= 300 and moisture_val < 600):
60 print "Moisture value: {0}, {1}".format(moisture_val, result)

Completed in 83 milliseconds