ESP32-Paxcounter icon indicating copy to clipboard operation
ESP32-Paxcounter copied to clipboard

Add C02 Sensor as sensor 2 (C02 Ampel) // how to include a custom sensor #780 // Second example

Open hansju-11 opened this issue 4 years ago • 2 comments

A more complex example to add scd30 sensor.

put code in seperate files, (like sds011 sensor) add NEO pixel LED to have a real "traffic light" to show air is good (green), air is not realy good but still ok (yellow) air is bad (red)

use additional libs: https://github.com/adafruit/Adafruit_NeoPixel change in this lib Adafruit_NeoPixel.cpp

--> #if defined(TARGET_LPC1768) // #include <time.h> #include <microTime.h> #endif

https://github.com/sparkfun/SparkFun_SCD30_Arduino_Library

it is the first try. Please have a look and write your comments.

PAX-CO2-Ample

hansju-11 avatar Apr 08 '21 15:04 hansju-11

Thanks for the PR! What shall we do with the first one?

cyberman54 avatar Apr 08 '21 16:04 cyberman54

We can use the example in the discussion  #732, but we should not take it into the branch.Kind regardsHans-Jürgen --Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.Am 08.04.21, 18:19 schrieb Verkehrsrot @.***>:

Thanks for the PR! What shall we do with the first one? —You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

hansju-11 avatar Apr 08 '21 18:04 hansju-11