Skip to content
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

Merged
merged 6 commits into from
May 29, 2023
Merged

Conversation

roberbike
Copy link
Member

First step to add DFRobot Multigas sensor.
Many errors, in this first step. could you guide me?

@hpsaturn hpsaturn changed the base branch from master to devel May 25, 2023 22:28
Copy link
Member

@hpsaturn hpsaturn left a 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 @@
/*!
Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eliminado

src/Sensors.cpp Show resolved Hide resolved
src/Sensors.hpp Outdated

#define CSL_VERSION "0.5.9"
#define CSL_REVISION 366
#define CSL_VERSION "0.5.9.1"
Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Entendido

Copy link
Member

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 Show resolved Hide resolved
src/drivers/DFRobot_MultiGasSensor.h Outdated Show resolved Hide resolved
src/drivers/DFRobot_MultiGasSensor.cpp Outdated Show resolved Hide resolved
@roberbike
Copy link
Member Author

roberbike commented May 27, 2023 via email

src/Sensors.hpp Outdated

#define CSL_VERSION "0.5.9"
#define CSL_REVISION 366
#define CSL_VERSION "0.5.9.1"
Copy link
Member

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
Copy link
Member

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.

@hpsaturn hpsaturn changed the base branch from devel to nh3_support May 28, 2023 07:59
@hpsaturn hpsaturn merged commit ff7ef67 into kike-canaries:nh3_support May 29, 2023
@hpsaturn hpsaturn mentioned this pull request May 29, 2023
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants