OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mq303a
(Results
1 - 3
of
3
) sorted by null
/hardware/bsp/intel/peripheral/libupm/examples/c++/
mq303a.cxx
28
#include "
mq303a
.h"
45
// Instantiate an
mq303a
sensor on analog pin A0
49
// pin (if using a grove
mq303a
). For A1, we can use the D15 gpio,
52
upm::
MQ303A
*
mq303a
= new upm::
MQ303A
(0, 15);
local
55
mq303a
->heaterEnable(true);
64
int val =
mq303a
->value();
74
mq303a
->heaterEnable(false);
76
delete
mq303a
;
[
all
...]
/hardware/bsp/intel/peripheral/libupm/examples/java/
MQ303ASample.java
37
// Instantiate an
mq303a
sensor on analog pin A0
41
// pin (if using a grove
mq303a
). For A1, we can use the D15 gpio,·
43
upm_mq303a.
MQ303A
mq303a
= new upm_mq303a.
MQ303A
(1, 15);
local
46
mq303a
.heaterEnable(true);
52
int val =
mq303a
.value();
58
mq303a
.heaterEnable(false);
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
mq303a.js
29
var
mq303a
= require('jsupm_mq303a');
variable
31
// Instantiate an
mq303a
sensor on analog pin A0
34
// pin (if using a grove
mq303a
). For A1, we can use the D15 gpio,
36
var myAlcoholObj = new
mq303a
.
MQ303A
(0, 15);
Completed in 205 milliseconds