OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MQ303A
(Results
1 - 6
of
6
) sorted by null
/hardware/bsp/intel/peripheral/libupm/src/mq303a/
mq303a.h
32
* @brief
MQ303A
Alcohol Sensor library
33
* @defgroup
mq303a
libupm-
mq303a
37
* @library
mq303a
38
* @sensor
mq303a
39
* @comname
MQ303A
Alcohol Sensor
47
* @brief API for the
MQ303A
Alcohol Sensor
49
* UPM module for the
MQ303A
alcohol sensor.
54
* @image html
mq303a
.jpg
55
* @snippet
mq303a
.cxx Interestin
[
all
...]
mq303a.cxx
29
#include "
mq303a
.h"
33
MQ303A
::
MQ303A
(int pin, int heaterPin)
51
MQ303A
::~
MQ303A
()
58
int
MQ303A
::value()
63
void
MQ303A
::heaterEnable(bool enable)
/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);
/hardware/bsp/intel/peripheral/libupm/examples/python/
mq303a.py
29
# Instantiate an
mq303a
sensor on analog pin A0
32
# pin (if using a grove
mq303a
). For A1, we can use the D15 gpio,
34
myAlcoholSensor = upmMq303a.
MQ303A
(0, 15)
Completed in 165 milliseconds