You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
518 B
20 lines
518 B
#pragma once
|
|
|
|
#include "esphome/core/component.h"
|
|
#include "esphome/components/spi/spi.h"
|
|
|
|
namespace esphome {
|
|
namespace empty_spi_component {
|
|
|
|
class EmptySPIComponent : public Component,
|
|
public spi::SPIDevice<spi::BIT_ORDER_MSB_FIRST,spi::CLOCK_POLARITY_LOW,
|
|
spi::CLOCK_PHASE_LEADING,spi::DATA_RATE_1KHZ> {
|
|
public:
|
|
void setup() override;
|
|
void loop() override;
|
|
void dump_config() override;
|
|
};
|
|
|
|
|
|
} // namespace empty_spi_component
|
|
} // namespace esphome
|