Added iGas interface
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
committed by
Mihai Tudor Panu
parent
f28a6d2561
commit
e4f106a0c7
@@ -66,6 +66,11 @@ float MICSV89::co2equ() {
|
||||
return ((rx_buf[0] - 13) * (1600/229) + 400);
|
||||
}
|
||||
|
||||
float MICSV89::getConcentration() {
|
||||
update();
|
||||
return ((rx_buf[0] - 13) * (1600/229) + 400);
|
||||
}
|
||||
|
||||
int MICSV89::vocshort() {
|
||||
return rx_buf[1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user