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.

TempInput.h 336B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include "Boiler.h"
  3. #include "IInput.h"
  4. class TempInput
  5. : public IInput<temp_t>
  6. {
  7. public:
  8. explicit TempInput(uint8_t index);
  9. void begin() override;
  10. void loop() override;
  11. protected:
  12. uint8_t m_address[8];
  13. uint8_t m_index;
  14. timestamp_t m_lastSensorRequestMs;
  15. bool m_hasReadSensor;
  16. };