Home
last modified time | relevance | path

Searched refs:threshContext (Results 1 – 18 of 18) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/python/
Dmic.py28 threshContext = upmMicrophone.thresholdContext() variable
29 threshContext.averageReading = 0
30 threshContext.runningAverage = 0
31 threshContext.averagedOver = 2
41 thresh = myMic.findThreshold(threshContext, 30, buffer, len)
42 myMic.printGraph(threshContext)
Dmq8.py46 threshContext = upmGAS.thresholdContext() variable
47 threshContext.averageReading = 0
48 threshContext.runningAverage = 0
49 threshContext.averagedOver = 2
59 thresh = sensor.findThreshold(threshContext, 30, mybuffer, samplelen)
60 sensor.printGraph(threshContext, 5)
Dmq7.py46 threshContext = upmGAS.thresholdContext() variable
47 threshContext.averageReading = 0
48 threshContext.runningAverage = 0
49 threshContext.averagedOver = 2
59 thresh = sensor.findThreshold(threshContext, 30, mybuffer, samplelen)
60 sensor.printGraph(threshContext, 5)
Dmq4.py46 threshContext = upmGAS.thresholdContext() variable
47 threshContext.averageReading = 0
48 threshContext.runningAverage = 0
49 threshContext.averagedOver = 2
59 thresh = sensor.findThreshold(threshContext, 30, mybuffer, samplelen)
60 sensor.printGraph(threshContext, 5)
Dmq6.py46 threshContext = upmGAS.thresholdContext() variable
47 threshContext.averageReading = 0
48 threshContext.runningAverage = 0
49 threshContext.averagedOver = 2
59 thresh = sensor.findThreshold(threshContext, 30, mybuffer, samplelen)
60 sensor.printGraph(threshContext, 5)
Dmq9.py46 threshContext = upmGas.thresholdContext() variable
47 threshContext.averageReading = 0
48 threshContext.runningAverage = 0
49 threshContext.averagedOver = 2
59 thresh = myMQ9.findThreshold(threshContext, 30, mybuffer, samplelen)
60 myMQ9.printGraph(threshContext, 5)
Dmq3.py46 threshContext = upmGas.thresholdContext() variable
47 threshContext.averageReading = 0
48 threshContext.runningAverage = 0
49 threshContext.averagedOver = 2
59 thresh = myMQ3.findThreshold(threshContext, 30, mybuffer, samplelen)
60 myMQ3.printGraph(threshContext, 5)
Dmq2.py46 threshContext = upmGas.thresholdContext() variable
47 threshContext.averageReading = 0
48 threshContext.runningAverage = 0
49 threshContext.averagedOver = 2
59 thresh = myMQ2.findThreshold(threshContext, 30, mybuffer, samplelen)
60 myMQ2.printGraph(threshContext, 5)
Dmq5.py46 threshContext = upmGas.thresholdContext() variable
47 threshContext.averageReading = 0
48 threshContext.runningAverage = 0
49 threshContext.averagedOver = 2
59 thresh = myMQ5.findThreshold(threshContext, 30, mybuffer, samplelen)
60 myMQ5.printGraph(threshContext, 5)
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dmq9.js32 var threshContext = new upmMQ9.thresholdContext; variable
33 threshContext.averageReading = 0;
34 threshContext.runningAverage = 0;
35 threshContext.averagedOver = 2;
44 var thresh = myMQ9.findThreshold(threshContext, 30, buffer, len);
45 myMQ9.printGraph(threshContext, 5);
Dmq5.js33 var threshContext = new upmMQ5.thresholdContext; variable
34 threshContext.averageReading = 0;
35 threshContext.runningAverage = 0;
36 threshContext.averagedOver = 2;
45 var thresh = myMQ5.findThreshold(threshContext, 30, buffer, len);
46 myMQ5.printGraph(threshContext, 5);
Dmq3.js33 var threshContext = new upmMQ3.thresholdContext; variable
34 threshContext.averageReading = 0;
35 threshContext.runningAverage = 0;
36 threshContext.averagedOver = 2;
48 var thresh = myMQ3.findThreshold(threshContext, 30, buffer, len);
49 myMQ3.printGraph(threshContext, 5);
Dmq8.js32 var threshContext = new upmGAS.thresholdContext; variable
33 threshContext.averageReading = 0;
34 threshContext.runningAverage = 0;
35 threshContext.averagedOver = 2;
48 var thresh = sensor.findThreshold(threshContext, 30, buffer, len);
49 sensor.printGraph(threshContext, 5);
Dmq2.js32 var threshContext = new upmMQ2.thresholdContext; variable
33 threshContext.averageReading = 0;
34 threshContext.runningAverage = 0;
35 threshContext.averagedOver = 2;
47 var thresh = myMQ2.findThreshold(threshContext, 30, buffer, len);
48 myMQ2.printGraph(threshContext, 5);
Dmq7.js32 var threshContext = new upmGAS.thresholdContext; variable
33 threshContext.averageReading = 0;
34 threshContext.runningAverage = 0;
35 threshContext.averagedOver = 2;
48 var thresh = sensor.findThreshold(threshContext, 30, buffer, len);
49 sensor.printGraph(threshContext, 5);
Dmq6.js32 var threshContext = new upmGAS.thresholdContext; variable
33 threshContext.averageReading = 0;
34 threshContext.runningAverage = 0;
35 threshContext.averagedOver = 2;
48 var thresh = sensor.findThreshold(threshContext, 30, buffer, len);
49 sensor.printGraph(threshContext, 5);
Dmq4.js32 var threshContext = new upmGAS.thresholdContext; variable
33 threshContext.averageReading = 0;
34 threshContext.runningAverage = 0;
35 threshContext.averagedOver = 2;
48 var thresh = sensor.findThreshold(threshContext, 30, buffer, len);
49 sensor.printGraph(threshContext, 5);
Dmic.js33 var threshContext = new upmMicrophone.thresholdContext; variable
34 threshContext.averageReading = 0;
35 threshContext.runningAverage = 0;
36 threshContext.averagedOver = 2;
49 var thresh = myMic.findThreshold(threshContext, 30, buffer, len);
50 myMic.printGraph(threshContext);