mirror of
https://github.com/SasaKaranovic/HousePlantMonitoringSystem.git
synced 2026-07-08 17:52:37 +02:00
225809b95c
Adding solenoid close timeout. Closing all solenoids on power-up. Central unit and Solenoid valve release
23 lines
348 B
C
23 lines
348 B
C
#ifndef DEBUG_H
|
|
#define DEBUG_H
|
|
|
|
// #define _DEBUG_ENABLE_
|
|
//#define _DEBUG_TWI_
|
|
|
|
#ifdef _DEBUG_ENABLE_
|
|
void debugStr(char *data);
|
|
void debugHex(char data);
|
|
#else
|
|
#define debugStr(x)
|
|
#define debugHex(x)
|
|
#endif
|
|
|
|
#ifdef _DEBUG_TWI_
|
|
#define debugTWIStr(x) (debugStr(x))
|
|
#else
|
|
#define debugTWIStr(x)
|
|
#endif
|
|
|
|
#endif /* DEBUG_H */
|
|
|