OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:airSensor
(Results
1 - 4
of
4
) sorted by null
/hardware/bsp/intel/peripheral/libupm/examples/c++/
tp401.cxx
46
upm::TP401*
airSensor
= new upm::TP401(0); // Instantiate new grove air quality sensor on analog pin A0
48
cout <<
airSensor
->name() << endl;
61
uint16_t value =
airSensor
->getSample(); // Read raw value
62
float ppm =
airSensor
->getPPM(); // Read CO ppm (can vary slightly from previous read)
67
delete
airSensor
;
/hardware/bsp/intel/peripheral/libupm/examples/python/
tp401.py
35
airSensor
= TP401.TP401(0)
48
value =
airSensor
.getSample()
49
ppm =
airSensor
.getPPM()
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
tp401.js
41
var value =
airSensor
.getSample();
42
var ppm =
airSensor
.getPPM();
52
var
airSensor
= new upmTP401.TP401(0);
/hardware/bsp/intel/peripheral/libupm/examples/java/
TP401Sample.java
50
upm_gas.TP401
airSensor
= new upm_gas.TP401(0);
52
System.out.println(
airSensor
.name());
64
int value =
airSensor
.getSample(); // Read raw value
65
float ppm =
airSensor
.getPPM(); // Read CO ppm (can vary slightly
Completed in 196 milliseconds