Home
last modified time | relevance | path

Searched refs:moisture_val (Results 1 – 3 of 3) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dgrovemoisture.js42 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/java/
DGroveMoistureSample.java40 int moisture_val = gm.value(); in main() local
43 if (moisture_val >= 0 && moisture_val < 300) in main()
45 else if ((moisture_val >= 0 && moisture_val < 300)) in main()
50 System.out.println("Moisture Value: " + moisture_val + ", " + result); in main()
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dgrovemoisture.py53 moisture_val = myMoisture.value() variable
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)