start of demo espnow component

This commit is contained in:
NP v/d Spek 2024-11-11 22:56:32 +01:00
parent de5519bcaa
commit 0c9ebe8054
3 changed files with 44 additions and 0 deletions

View file

@ -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 <esp_now.h>
#include <array>
#include <memory>
#include <queue>
#include <vector>
#include <mutex>
#include <map>
namespace esphome {
namespace espnow {} // namespace espnow
} // namespace esphome
#endif

View file

@ -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 <esp_now.h>
#include <array>
#include <memory>
#include <queue>
#include <vector>
#include <mutex>
#include <map>
namespace esphome {
namespace espnow {} // namespace espnow
} // namespace esphome
#endif