sensoresp/include
interfisch 46ab4f7dbb move most of cpp and header files 2023-02-01 20:04:46 +01:00
..
README copied project from sensoresp1 2020-08-15 19:45:02 +02:00
sensor_anemometer.cpp move most of cpp and header files 2023-02-01 20:04:46 +01:00
sensor_anemometer.h move raingauge to class 2021-11-08 20:09:59 +01:00
sensor_bh1750.h move bh1750 to class 2021-11-04 18:21:31 +01:00
sensor_bmp180.h 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.h move pir to class and rename to hcsr501 2021-11-04 19:16:30 +01:00
sensor_hs1101.h move hs1101 to class 2021-11-04 17:52:39 +01:00
sensor_htu21d.h move htu21d to class 2021-11-03 19:03:28 +01:00
sensor_ldr.h move most of cpp and header files 2023-02-01 20:04:46 +01:00
sensor_mhz19b.cpp move most of cpp and header files 2023-02-01 20:04:46 +01:00
sensor_mhz19b.h move most of cpp and header files 2023-02-01 20:04:46 +01:00
sensor_ml8511.h move ml8511 to class 2021-11-04 18:47:43 +01:00
sensor_multichannelgasgmxxx.h send less data for range sensor 2022-02-24 08:22:48 +01:00
sensor_radar.h move radar to class 2021-11-04 19:25:31 +01:00
sensor_raingauge.cpp move most of cpp and header files 2023-02-01 20:04:46 +01:00
sensor_raingauge.h move raingauge to class 2021-11-08 20:09:59 +01:00
sensor_sds018.h fix compile errors 2021-11-07 11:05:25 +01:00
sensor_sht31.h add sht31 humidity sensor to outdoor station 2022-11-13 14:19:12 +01:00
sensor_tcs34725.h move tcs34725 to class 2021-11-07 21:56:42 +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
tcs34725_agc.h move most of cpp and header files 2023-02-01 20:04:46 +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