Adjust: start working on tracking position

This commit is contained in:
jonny_l480 2024-09-04 16:19:40 +02:00
parent ff98d3f5eb
commit 70df86f70c
2 changed files with 7 additions and 0 deletions

View File

@ -85,6 +85,10 @@ void cControlledRest::setState(restState_t targetState)
}
}
void setTargetPercent(float targetPercent);
void handle(){
}
//====================================

View File

@ -20,6 +20,9 @@ class cControlledRest {
public:
cControlledRest(gpio_num_t gpio_up, gpio_num_t gpio_down, const char *name);
void setState(restState_t targetState);
float getPercent();
void setTargetPercent(float targetPercent);
void handle();
void stop();
private: