feat: création classe abstraite capteur #44

Merged
Clement merged 37 commits from refactor/class-abstraite-capteur into master 2023-05-13 10:58:51 +00:00
Showing only changes of commit a533973e9c - Show all commits

View File

@ -9,7 +9,7 @@ Ultrason::Ultrason(int trigeur, int echo, String fullVall):
String Ultrason::read(){
int sortie = this->capteur->read();
if (sortie > this->fullVall.toInt())
if (sortie < this->fullVall.toInt())
{
this->full = true;
}else{