feat: V1 fonctionnel OK #8

Merged
Clement merged 8 commits from feat/main-algo-2 into master 2023-12-03 11:24:38 +00:00
2 changed files with 11 additions and 0 deletions
Showing only changes of commit 2e593cb4e0 - Show all commits

View File

@ -39,6 +39,13 @@ public:
*/
int getValue();
/**
* @brief set the encodeur value
*
* @param val the new encodeur value
*/
void setValue(int val);
/**
* @brief update the encodeur value
*

View File

@ -67,3 +67,7 @@ void SwitchableEncodeur::resetValue() {
this->oldPosition = 0;
this->readAndReset();
}
void SwitchableEncodeur::setValue(int val){
this->write(val*4);
}