common.h
Go to the documentation of this file.
1 /****
2  * common.h
3  *
4  * Copyright 2021 mikee47 <mike@sillyhouse.net>
5  *
6  * This file is part of the Sming-MHZ19 Library
7  *
8  * This library is free software: you can redistribute it and/or modify it under the terms of the
9  * GNU General Public License as published by the Free Software Foundation, version 3 or later.
10  *
11  * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
12  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13  * See the GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along with this library.
16  * If not, see <https://www.gnu.org/licenses/>.
17  *
18  ****/
19 
20 #pragma once
21 
22 namespace MHZ19
23 {
27 enum class DetectionRange {
28  PPM_2000 = 2000,
29  PPM_5000 = 5000,
30  PPM_10000 = 10000,
31 };
32 
33 } // namespace MHZ19
Definition: common.h:23
DetectionRange
Device may be configured to output CO2 PPM values in various ranges.
Definition: common.h:27