ESPHome 2026.5.0b1
Loading...
Searching...
No Matches
max6675.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome::max6675 {
8
10 public PollingComponent,
11 public spi::SPIDevice<spi::BIT_ORDER_MSB_FIRST, spi::CLOCK_POLARITY_LOW, spi::CLOCK_PHASE_LEADING,
12 spi::DATA_RATE_1MHZ> {
13 public:
14 void setup() override;
15 void dump_config() override;
16
17 void update() override;
18
19 protected:
20 void read_data_();
21};
22
23} // namespace esphome::max6675
This class simplifies creating components that periodically check a state.
Definition component.h:602
Base-class for all sensors.
Definition sensor.h:47
The SPIDevice is what components using the SPI will create.
Definition spi.h:429