ESPHome 2026.3.0-dev
Loading...
Searching...
No Matches
max6675.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome {
8namespace max6675 {
9
11 public PollingComponent,
12 public spi::SPIDevice<spi::BIT_ORDER_MSB_FIRST, spi::CLOCK_POLARITY_LOW, spi::CLOCK_PHASE_LEADING,
13 spi::DATA_RATE_1MHZ> {
14 public:
15 void setup() override;
16 void dump_config() override;
17
18 void update() override;
19
20 protected:
21 void read_data_();
22};
23
24} // namespace max6675
25} // namespace esphome
This class simplifies creating components that periodically check a state.
Definition component.h:527
Base-class for all sensors.
Definition sensor.h:47
The SPIDevice is what components using the SPI will create.
Definition spi.h:427
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7