1#ifndef FIRMWARE_SETPOINTPROFILERUNNER_H
2#define FIRMWARE_SETPOINTPROFILERUNNER_H
Base class for a humidistat. Holds a reference to a HumiditySensor instance.
'Runs' a setpoint profile.
void update()
Run the profile (if running). Call this periodically.
void setProfile(const etl::span< const Point > &profile)
Set the profile.
bool isRunning() const
Get the run state.
size_t getCurrentPoint() const
Get the index of the current Point in the profile.
void toggle()
Toggle the run state.
SetpointProfileRunner(Humidistat *humidistat)
Constructor.
etl::span< const Point > profile