From 0c9ebe8054d505aa277d8539ee68ba32dc520174 Mon Sep 17 00:00:00 2001 From: NP v/d Spek Date: Mon, 11 Nov 2024 22:56:32 +0100 Subject: [PATCH] start of demo espnow component --- esphome/components/espnow_demo/__init__.py | 0 .../components/espnow_demo/espnow_demo.cpp | 23 +++++++++++++++++++ esphome/components/espnow_demo/espnow_demo.h | 21 +++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 esphome/components/espnow_demo/__init__.py create mode 100644 esphome/components/espnow_demo/espnow_demo.cpp create mode 100644 esphome/components/espnow_demo/espnow_demo.h diff --git a/esphome/components/espnow_demo/__init__.py b/esphome/components/espnow_demo/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/esphome/components/espnow_demo/espnow_demo.cpp b/esphome/components/espnow_demo/espnow_demo.cpp new file mode 100644 index 0000000000..bb68d63f1d --- /dev/null +++ b/esphome/components/espnow_demo/espnow_demo.cpp @@ -0,0 +1,23 @@ +#include "espnow_demo.h" + +#pragma once + +#if defined(USE_ESP32) + +#include "esphome/core/automation.h" +#include "esphome/core/component.h" +#include "esphome/core/helpers.h" +#include + +#include +#include +#include +#include +#include +#include + +namespace esphome { +namespace espnow {} // namespace espnow +} // namespace esphome + +#endif diff --git a/esphome/components/espnow_demo/espnow_demo.h b/esphome/components/espnow_demo/espnow_demo.h new file mode 100644 index 0000000000..91a2622721 --- /dev/null +++ b/esphome/components/espnow_demo/espnow_demo.h @@ -0,0 +1,21 @@ +#pragma once + +#if defined(USE_ESP32) + +#include "esphome/core/automation.h" +#include "esphome/core/component.h" +#include "esphome/core/helpers.h" +#include + +#include +#include +#include +#include +#include +#include + +namespace esphome { +namespace espnow {} // namespace espnow +} // namespace esphome + +#endif