diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2023-05-30 01:01:09 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2023-05-30 01:01:09 +0300 |
commit | d1435e2b1acc31fba64d21994d40297ae900c549 (patch) | |
tree | 18665fe89efc7819ac4ad72f2dda00f5d4cb8ffb /platformio/common/libs/relay/homekit/relay.h | |
parent | 0e021d0f1e17f4e2c07f927284cda4bd2754caf0 (diff) |
platformio: make relay a library
Diffstat (limited to 'platformio/common/libs/relay/homekit/relay.h')
-rw-r--r-- | platformio/common/libs/relay/homekit/relay.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/platformio/common/libs/relay/homekit/relay.h b/platformio/common/libs/relay/homekit/relay.h new file mode 100644 index 0000000..288cc05 --- /dev/null +++ b/platformio/common/libs/relay/homekit/relay.h @@ -0,0 +1,13 @@ +#ifndef HOMEKIT_LIB_RELAY_H +#define HOMEKIT_LIB_RELAY_H + +namespace homekit::relay { + +void init(); +bool state(); +void on(); +void off(); + +} + +#endif //HOMEKIT_LIB_RELAY_H |