sensoresp/include
interfisch 1693a84cf3 move mhz19 to class (calibration topic missing) 2021-11-06 19:38:54 +01:00
..
README copied project from sensoresp1 2020-08-15 19:45:02 +02:00
sensor_bh1750.cpp move bh1750 to class 2021-11-04 18:21:31 +01:00
sensor_bh1750.h move bh1750 to class 2021-11-04 18:21:31 +01:00
sensor_bmp180.cpp move bmp180 to class 2021-11-02 20:13:38 +01:00
sensor_bmp180.h move bmp180 to class 2021-11-02 20:13:38 +01:00
sensor_dht22.cpp move bmp180 to class 2021-11-02 20:13:38 +01:00
sensor_dht22.h move bmp180 to class 2021-11-02 20:13:38 +01:00
sensor_hcsr501.cpp move pir to class and rename to hcsr501 2021-11-04 19:16:30 +01:00
sensor_hcsr501.h move pir to class and rename to hcsr501 2021-11-04 19:16:30 +01:00
sensor_hs1101.cpp move hs1101 to class 2021-11-04 17:52:39 +01:00
sensor_hs1101.h move hs1101 to class 2021-11-04 17:52:39 +01:00
sensor_htu21d.cpp move htu21d to class 2021-11-03 19:03:28 +01:00
sensor_htu21d.h move htu21d to class 2021-11-03 19:03:28 +01:00
sensor_ldr.cpp move mhz19 to class (calibration topic missing) 2021-11-06 19:38:54 +01:00
sensor_ldr.h move mhz19 to class (calibration topic missing) 2021-11-06 19:38:54 +01:00
sensor_mhz19b.cpp move mhz19 to class (calibration topic missing) 2021-11-06 19:38:54 +01:00
sensor_mhz19b.h move mhz19 to class (calibration topic missing) 2021-11-06 19:38:54 +01:00
sensor_ml8511.cpp move pir to class and rename to hcsr501 2021-11-04 19:16:30 +01:00
sensor_ml8511.h move ml8511 to class 2021-11-04 18:47:43 +01:00
sensor_radar.cpp move radar to class 2021-11-04 19:25:31 +01:00
sensor_radar.h move radar to class 2021-11-04 19:25:31 +01:00
sensordata.h working separation of dht22 into own class 2021-11-02 18:51:55 +01:00

README

This directory is intended for project header files.

A header file is a file containing C declarations and macro definitions
to be shared between several project source files. You request the use of a
header file in your project source file (C, C++, etc) located in `src` folder
by including it, with the C preprocessing directive `#include'.

```src/main.c

#include "header.h"

int main (void)
{
 ...
}
```

Including a header file produces the same results as copying the header file
into each source file that needs it. Such copying would be time-consuming
and error-prone. With a header file, the related declarations appear
in only one place. If they need to be changed, they can be changed in one
place, and programs that include the header file will automatically use the
new version when next recompiled. The header file eliminates the labor of
finding and changing all the copies as well as the risk that a failure to
find one copy will result in inconsistencies within a program.

In C, the usual convention is to give header files names that end with `.h'.
It is most portable to use only letters, digits, dashes, and underscores in
header file names, and at most one dot.

Read more about using header files in official GCC documentation:

* Include Syntax
* Include Operation
* Once-Only Headers
* Computed Includes

https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html