2020-12-11 19:10:17 +00:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* \class Config
|
|
|
|
*/
|
2019-11-28 08:50:54 +00:00
|
|
|
#ifndef CONFIG_H
|
|
|
|
#define CONFIG_H
|
|
|
|
|
2019-11-29 09:53:44 +00:00
|
|
|
#ifndef VERSION
|
|
|
|
//SEMVER style version
|
2020-12-11 19:10:17 +00:00
|
|
|
/**
|
|
|
|
* \brief Version string.
|
|
|
|
* Update as needed. Formatted as SEMVER style string.
|
|
|
|
* See https://semver.org/ for more information.
|
|
|
|
*/
|
2019-11-29 09:53:44 +00:00
|
|
|
#define VERSION "0.4.5-Dev"
|
2019-11-29 09:14:03 +00:00
|
|
|
#endif
|
|
|
|
|
2020-12-11 19:10:17 +00:00
|
|
|
/**
|
|
|
|
* Set the default Serial baudrate in bits/seconds
|
|
|
|
*/
|
2019-11-28 08:50:54 +00:00
|
|
|
#define CONFIG_SERIAL_BAUDRATE 115200
|
|
|
|
|
2020-12-11 19:10:17 +00:00
|
|
|
/**
|
|
|
|
* Pin ID of the output relay
|
|
|
|
*/
|
2019-11-28 08:50:54 +00:00
|
|
|
#define CONFIG_IO_RELAY D1
|
2020-12-11 19:10:17 +00:00
|
|
|
/**
|
|
|
|
* Pin ID of the DHT11 temperature sensor
|
|
|
|
*/
|
2019-11-28 08:50:54 +00:00
|
|
|
#define CONFIG_IO_DHT11 D2
|
|
|
|
|
2020-12-11 19:10:17 +00:00
|
|
|
/**
|
|
|
|
* Interval at which the tempreature is sent in seconds
|
|
|
|
*/
|
2019-11-28 08:50:54 +00:00
|
|
|
#define CONFIG_TEMPERATURE_SEND_INTERVAL 60
|
|
|
|
#endif
|