SensESP 2.7.2
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
heat_index.h
Go to the documentation of this file.
1#ifndef _heat_index_H_
2#define _heat_index_H_
3
4#include "transform.h"
5
6namespace sensesp {
7
17 public:
19 virtual void set_input(float input, uint8_t inputChannel) override;
20
21 private:
22 uint8_t received = 0;
23 float inputs[2];
24};
25
33class HeatIndexEffect : public Transform<float, String> {
34 public:
36 virtual void set_input(float input, uint8_t inputChannel = 0) override;
37};
38
39} // namespace sensesp
40
41#endif
Transforms heat index temperature to heat index effect.
Definition heat_index.h:33
virtual void set_input(float input, uint8_t inputChannel=0) override
Transforms temperature and relative humidity in heat index temperature.
Definition heat_index.h:16
virtual void set_input(float input, uint8_t inputChannel) override
Definition heat_index.cpp:9
Construct a new transform based on a single function.
The main Transform class. A transform is identified primarily by the type of value that is produces (...
Definition transform.h:54