From ed0147a2e9386130791724037fabf9ad3982bebe Mon Sep 17 00:00:00 2001 From: Ulysse Cura Date: Fri, 31 Jan 2025 19:27:30 +0100 Subject: [PATCH] =?UTF-8?q?Inversion=20de=20bool=C3=A9en=20pour=20la=20tir?= =?UTF-8?q?ette.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IO.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IO.hpp b/IO.hpp index 1a386e4..98f22c1 100644 --- a/IO.hpp +++ b/IO.hpp @@ -80,7 +80,7 @@ class IO { int update() { - m_is_tirette_pulled = (digitalRead(PIN_TIRETTE) == LOW); + m_is_tirette_pulled = (digitalRead(PIN_TIRETTE) == HIGH); m_is_color_blue = (digitalRead(PIN_BUTTON_COLOR) == HIGH); if(m_is_motor_control_activated)