Vendored from https://github.com/gpeter62/ESP_UniClock: the sketch source, the web UI and the libraries the ESP8266 build needs, unpacked from the bundled zips. Adds a PlatformIO project for the ESP-12. The source is unchanged; local changes follow as separate commits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 lines
797 B
C
24 lines
797 B
C
// Turns on debug information of the ArduinoHA core.
|
|
// Please note that you need to initialize serial interface manually
|
|
// by calling Serial.begin([baudRate]) before initializing ArduinoHA.
|
|
// #define ARDUINOHA_DEBUG
|
|
|
|
// You can reduce Flash size of the compiled library by commenting unused components below
|
|
#define ARDUINOHA_BINARY_SENSOR
|
|
#define ARDUINOHA_COVER
|
|
#define ARDUINOHA_FAN
|
|
#define ARDUINOHA_HVAC
|
|
#define ARDUINOHA_SENSOR
|
|
#define ARDUINOHA_SWITCH
|
|
#define ARDUINOHA_TAG_SCANNER
|
|
#define ARDUINOHA_TRIGGERS
|
|
|
|
#ifdef __GNUC__
|
|
#define AHA_DEPRECATED(func) func __attribute__ ((deprecated))
|
|
#elif defined(_MSC_VER)
|
|
#define AHA_DEPRECATED(func) __declspec(deprecated) func
|
|
#else
|
|
#warning "Arduino Home Assistant: You may miss deprecation warnings."
|
|
#define AHA_DEPRECATED(func) func
|
|
#endif
|