sensoresp/include
interfisch 5f9c1f787c add grove gas sensor v2 multichannel gm-xxx 2021-11-21 17:51:04 +01:00
..
README copied project from sensoresp1 2020-08-15 19:45:02 +02:00
sensor_anemometer.cpp move raingauge to class 2021-11-08 20:09:59 +01:00
sensor_anemometer.h move raingauge to class 2021-11-08 20:09:59 +01:00
sensor_bh1750.cpp initialize sensor objects in constructor 2021-11-07 22:05:57 +01:00
sensor_bh1750.h move bh1750 to class 2021-11-04 18:21:31 +01:00
sensor_bmp180.cpp initialize sensor objects in constructor 2021-11-07 22:05:57 +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 remove sensordata from constructor 2021-11-07 22:46:42 +01:00
sensor_hcsr501.h move pir to class and rename to hcsr501 2021-11-04 19:16:30 +01:00
sensor_hs1101.cpp remove duplicate sensordata 2021-11-08 19:49:56 +01:00
sensor_hs1101.h move hs1101 to class 2021-11-04 17:52:39 +01:00
sensor_htu21d.cpp initialize sensor objects in constructor 2021-11-07 22:05:57 +01:00
sensor_htu21d.h move htu21d to class 2021-11-03 19:03:28 +01:00
sensor_ldr.cpp remove sensordata from constructor 2021-11-07 22:46:42 +01:00
sensor_ldr.h fix spelling error on ldr 2021-11-07 11:00:39 +01:00
sensor_mhz19b.cpp fix mhz19 calibration handler 2021-11-08 20:21:50 +01:00
sensor_mhz19b.h fix mhz19 calibration handler 2021-11-08 20:21:50 +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_multichannelgasgmxxx.cpp add grove gas sensor v2 multichannel gm-xxx 2021-11-21 17:51:04 +01:00
sensor_multichannelgasgmxxx.h add grove gas sensor v2 multichannel gm-xxx 2021-11-21 17:51:04 +01:00
sensor_radar.cpp remove sensordata from constructor 2021-11-07 22:46:42 +01:00
sensor_radar.h move radar to class 2021-11-04 19:25:31 +01:00
sensor_raingauge.cpp move raingauge to class 2021-11-08 20:09:59 +01:00
sensor_raingauge.h move raingauge to class 2021-11-08 20:09:59 +01:00
sensor_sds018.cpp initialize sensor objects in constructor 2021-11-07 22:05:57 +01:00
sensor_sds018.h fix compile errors 2021-11-07 11:05:25 +01:00
sensor_tcs34725.cpp move tcs34725 to class 2021-11-07 21:56:42 +01:00
sensor_tcs34725.h move tcs34725 to class 2021-11-07 21:56:42 +01:00
sensor_vl53l1x.cpp move vl53l1x to class 2021-11-07 22:31:24 +01:00
sensor_vl53l1x.h move vl53l1x to class 2021-11-07 22:31:24 +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