src.nth.io/

summaryrefslogtreecommitdiff
path: root/main/include
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2021-03-12 12:05:39 -0600
committerLuke Hoersten <[email protected]>2021-03-12 12:05:39 -0600
commitf24b74e0881818c8b7ddf7bb786363fa9b142f67 (patch)
tree29b5e82f597c5ca7f7409206d0f471ad2037c3d9 /main/include
parentc6d3d96ed6a659f7a3c1f616caebe325a3d139bd (diff)
Broke out LED identify service.
Diffstat (limited to 'main/include')
-rw-r--r--main/include/led.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/include/led.h b/main/include/led.h
new file mode 100644
index 0000000..eb07569
--- /dev/null
+++ b/main/include/led.h
@@ -0,0 +1,21 @@
+#include <stdio.h>
+#include <string.h>
+#include <freertos/FreeRTOS.h>
+#include <freertos/task.h>
+#include <freertos/timers.h>
+#include <freertos/queue.h>
+#include <esp_log.h>
+#include <driver/gpio.h>
+#include <driver/adc.h>
+
+#include <hap.h>
+
+#include <hap_apple_servs.h>
+#include <hap_apple_chars.h>
+
+#include <app_wifi.h>
+#include <app_hap_setup_payload.h>
+
+int intercom_led_identify(hap_acc_t *ha);
+
+void intercom_led_init(uint32_t key_gpio_pin); \ No newline at end of file