Adjust: start working on tracking position
This commit is contained in:
parent
ff98d3f5eb
commit
70df86f70c
@ -85,6 +85,10 @@ void cControlledRest::setState(restState_t targetState)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void setTargetPercent(float targetPercent);
|
||||||
|
void handle(){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//====================================
|
//====================================
|
||||||
|
@ -20,6 +20,9 @@ class cControlledRest {
|
|||||||
public:
|
public:
|
||||||
cControlledRest(gpio_num_t gpio_up, gpio_num_t gpio_down, const char *name);
|
cControlledRest(gpio_num_t gpio_up, gpio_num_t gpio_down, const char *name);
|
||||||
void setState(restState_t targetState);
|
void setState(restState_t targetState);
|
||||||
|
float getPercent();
|
||||||
|
void setTargetPercent(float targetPercent);
|
||||||
|
void handle();
|
||||||
void stop();
|
void stop();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user