deskcontrol/include/config.h

36 lines
664 B
C
Raw Permalink Normal View History

2020-12-11 19:10:17 +00:00
/**
* \file
* \class Config
*/
#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
*/
#define CONFIG_SERIAL_BAUDRATE 115200
2020-12-11 19:10:17 +00:00
/**
* Pin ID of the output relay
*/
#define CONFIG_IO_RELAY D1
2020-12-11 19:10:17 +00:00
/**
* Pin ID of the DHT11 temperature sensor
*/
#define CONFIG_IO_DHT11 D2
2020-12-11 19:10:17 +00:00
/**
* Interval at which the tempreature is sent in seconds
*/
#define CONFIG_TEMPERATURE_SEND_INTERVAL 60
#endif