Searched refs:myMQ2 (Results 1 – 2 of 2) sorted by relevance
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
D | mq2.js | 30 var myMQ2 = new upmMQ2.MQ2(0); variable 44 var len = myMQ2.getSampledWindow(2, 128, buffer); 47 var thresh = myMQ2.findThreshold(threshContext, 30, buffer, len); 48 myMQ2.printGraph(threshContext, 5);
|
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
D | mq2.py | 28 myMQ2 = upmGas.MQ2(0); variable 57 samplelen = myMQ2.getSampledWindow(2, 128, mybuffer) 59 thresh = myMQ2.findThreshold(threshContext, 30, mybuffer, samplelen) 60 myMQ2.printGraph(threshContext, 5)
|