OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:threshContext
(Results
1 - 18
of
18
) sorted by null
/hardware/bsp/intel/peripheral/libupm/examples/python/
mic.py
28
threshContext
= upmMicrophone.thresholdContext()
29
threshContext
.averageReading = 0
30
threshContext
.runningAverage = 0
31
threshContext
.averagedOver = 2
41
thresh = myMic.findThreshold(
threshContext
, 30, buffer, len)
42
myMic.printGraph(
threshContext
)
mq2.py
46
threshContext
= upmGas.thresholdContext()
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)
mq3.py
46
threshContext
= upmGas.thresholdContext()
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)
mq4.py
46
threshContext
= upmGAS.thresholdContext()
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)
mq5.py
46
threshContext
= upmGas.thresholdContext()
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)
mq6.py
46
threshContext
= upmGAS.thresholdContext()
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)
mq7.py
46
threshContext
= upmGAS.thresholdContext()
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)
mq8.py
46
threshContext
= upmGAS.thresholdContext()
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)
mq9.py
46
threshContext
= upmGas.thresholdContext()
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)
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
mic.js
33
var
threshContext
= new upmMicrophone.thresholdContext;
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
);
mq2.js
32
var
threshContext
= new upmMQ2.thresholdContext;
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);
mq3.js
33
var
threshContext
= new upmMQ3.thresholdContext;
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);
mq4.js
32
var
threshContext
= new upmGAS.thresholdContext;
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);
mq5.js
33
var
threshContext
= new upmMQ5.thresholdContext;
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);
mq6.js
32
var
threshContext
= new upmGAS.thresholdContext;
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);
mq7.js
32
var
threshContext
= new upmGAS.thresholdContext;
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);
mq8.js
32
var
threshContext
= new upmGAS.thresholdContext;
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);
mq9.js
32
var
threshContext
= new upmMQ9.thresholdContext;
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);
Completed in 1120 milliseconds