10 namespace honeywellabp {
13 public spi::SPIDevice<spi::BIT_ORDER_MSB_FIRST, spi::CLOCK_POLARITY_LOW,
14 spi::CLOCK_PHASE_LEADING, spi::DATA_RATE_200KHZ> {
18 void setup()
override;
float honeywellabp_max_pressure_
void set_honeywellabp_min_pressure(float min_pressure)
void dump_config() override
float countstotemperatures_(int counts)
void set_honeywellabp_max_pressure(float max_pressure)
This class simplifies creating components that periodically check a state.
sensor::Sensor * temperature_sensor_
void set_pressure_sensor(sensor::Sensor *pressure_sensor)
float countstopressure_(int counts, float min_pressure, float max_pressure)
float honeywellabp_min_pressure_
The SPIDevice is what components using the SPI will create.
sensor::Sensor * pressure_sensor_
float read_temperature_()
float get_setup_priority() const override
Implementation of SPI Controller mode.
Base-class for all sensors.
void set_temperature_sensor(sensor::Sensor *temperature_sensor)