From d1435e2b1acc31fba64d21994d40297ae900c549 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Tue, 30 May 2023 01:01:09 +0300 Subject: platformio: make relay a library --- platformio/common/libs/relay/homekit/relay.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 platformio/common/libs/relay/homekit/relay.h (limited to 'platformio/common/libs/relay/homekit/relay.h') 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 -- cgit v1.2.3