-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NH3 + CO DFRobot Multigas #165
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @roberbike for your contribution. Please only do the changes of my comments. I could finish the implementation after that. Don't worries :)
@@ -0,0 +1,95 @@ | |||
/*! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, for the moment remove this example because it don't use the CanAirIO Sensorlib example structures. This will be to understand but maybe will be useful for write a CanAirIO example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eliminado
src/Sensors.hpp
Outdated
|
||
#define CSL_VERSION "0.5.9" | ||
#define CSL_REVISION 366 | ||
#define CSL_VERSION "0.5.9.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is invalid, only add one more to the final number of revision and version.
More info here:
https://docs.platformio.org/en/latest/manifests/library-json/fields/version.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Entendido
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bueno, aqui deberia quedar 0.5.10 si fue un cambio pequeño compatible. O 0.6.0 si no es compatible hacia atras. Q creo es el caso por el tema del gas, porque ese getter depronto lo vamos a cambiar
Done.
El sáb, 27 may 2023 a las 10:10, Antonio Vanegas ***@***.***>)
escribió:
… ***@***.**** requested changes on this pull request.
Thanks @roberbike <https://github.com/roberbike> for your contribution.
Please only do the changes of my comments. I could finish the
implementation after that. Don't worries :)
------------------------------
In examples/gravity/readGasConcentration.cpp
<#165 (comment)>
:
> @@ -0,0 +1,95 @@
+/*!
Please, for the moment remove this example because it don't use the
CanAirIO Sensorlib example structures. This will be to understand but maybe
will be useful for write a CanAirIO example.
------------------------------
In src/Sensors.cpp
<#165 (comment)>
:
> @@ -557,8 +559,12 @@ float Sensors::getUnitValue(UNIT unit) {
return pres;
case ALT:
return alt;
- case GAS:
- return gas;
+ // case GAS:
we could rename this gas variable if it has a conflicts with the new gas
object. Or why is the reason to comment it?
------------------------------
In src/Sensors.hpp
<#165 (comment)>
:
>
-#define CSL_VERSION "0.5.9"
-#define CSL_REVISION 366
+#define CSL_VERSION "0.5.9.1"
this is invalid, only add one more to the final number of revision and
version.
More info here:
https://docs.platformio.org/en/latest/manifests/library-json/fields/version.html
------------------------------
In src/Sensors.hpp
<#165 (comment)>
:
> @@ -251,21 +259,22 @@ class Sensors {
float getAltitude();
- float getGas();
+ // float getGas(); // Posible colision con DFRobot Multigas
I understand you. Maybe could be remove the gas method, or change it to
real unit, a specific unit. Like, getCO2, getCO, getPM25.
------------------------------
In src/drivers/DFRobot_MultiGasSensor.h
<#165 (comment)>
:
> @@ -0,0 +1,326 @@
+/*!
We don't need this file here. It is already included in the library
dependency. Please remove it.
------------------------------
In src/drivers/DFRobot_MultiGasSensor.cpp
<#165 (comment)>
:
> @@ -0,0 +1,95 @@
+/*!
We don't need this file here. It is already included in the library
dependency. Please remove it.
—
Reply to this email directly, view it on GitHub
<#165 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE7JITAWOKJUED26X4BSEMDXIGZH7ANCNFSM6AAAAAAYPMR6MY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
src/Sensors.hpp
Outdated
|
||
#define CSL_VERSION "0.5.9" | ||
#define CSL_REVISION 366 | ||
#define CSL_VERSION "0.5.9.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bueno, aqui deberia quedar 0.5.10 si fue un cambio pequeño compatible. O 0.6.0 si no es compatible hacia atras. Q creo es el caso por el tema del gas, porque ese getter depronto lo vamos a cambiar
src/Sensors.hpp
Outdated
#define CSL_VERSION "0.5.9" | ||
#define CSL_REVISION 366 | ||
#define CSL_VERSION "0.5.9.1" | ||
#define CSL_REVISION 366.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aqui simplemente sube el numero.
First step to add DFRobot Multigas sensor.
Many errors, in this first step. could you guide me?