An Arduino library for the EE895 CO2 sensor manufactured by E+E Elektronik Ges.m.b.H.
on WeMos D1 Mini
- EE895 is supplied with 5V
- SDA on GPIO 4 / D2, 4k7 Pullup to 3.3V
- SCL on GPIO 5 / D1, 4k7 Pullup to 3.3V
If you want to contribute to this project please read this section. I've also added some CI tests to ensure
- run unit tests
- compile examples
- ensure Arduino code style is matched
keywords.txt
are up to date
To ease the development, you may install a pre-commit git hook using the following command:
make .git/hooks/pre-commit
Please keep in mind that you should always review the code before executing someone's code you found on the internet ;)
I've copied Arduino code style configuration to codestyle.conf. You can use astyle to automatically apply these style rules. You can apply the code style by executing the following command:
make codestyle
If you removed, added or renamed methods, it is necessary to update the keywords.txt
file. To automatically do this, you need to have the python package arduinokeywords
installed. After doing that, you can run:
make keywords.txt