alfkoehn / CO2_monitor

An open-source CO2 monitor helping to ensure a healthy environment in a class room and slowing down the spread of the corona SARS-CoV-2 virus.
https://github.com/alfkoehn/CO2_monitor
43 stars 8 forks source link

Make the warning diode a compile-time option #5

Closed s-hamann closed 3 years ago

s-hamann commented 3 years ago

I intend to build a device without a warning diode (or rather, a RGB LED instead). So this PR makes the diode optional. If WARNING_DIODE_PIN is not defined, it is simply not used.