Home
last modified time | relevance | path

Searched refs:flow (Results 1 – 4 of 4) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dgrovewfs.cxx47 upm::GroveWFS* flow = new upm::GroveWFS(2); in main() local
50 flow->clearFlowCounter(); in main()
51 flow->startFlowCounter(); in main()
57 uint32_t millis = flow->getMillis(); in main()
58 uint32_t flowCount = flow->flowCounter(); in main()
60 float fr = flow->flowRate(); in main()
71 flow->stopFlowCounter(); in main()
76 delete flow; in main()
/hardware/bsp/intel/peripheral/libupm/examples/java/
DGroveWFSSample.java40 upm_grovewfs.GroveWFS flow = new upm_grovewfs.GroveWFS(2); in main() local
42 flow.clearFlowCounter(); in main()
43 flow.startFlowCounter(); in main()
46 System.out.print("Millis: " + flow.getMillis() + " FlowCount: " + flow.flowCounter()); in main()
47 System.out.println(" Flow Rate: " + flow.flowRate() + " LPM"); in main()
/hardware/bsp/intel/peripheral/libupm/src/grovewfs/
Dgrovewfs.cxx118 uint32_t flow = flowCounter(); in flowRate() local
121 float flowRate = (float(flow) * 7.5) / ((float(millis) / 1000.0) * 60.0); in flowRate()
DCMakeLists.txt2 set (libdescription "upm grove water flow sensor module")