From a85391692f5a32a4e95227d1355b29a96a2af39e Mon Sep 17 00:00:00 2001 From: Alessandro Monticelli Date: Fri, 24 Nov 2023 14:21:15 +0100 Subject: [PATCH] [FIX] Fix LED impl --- smart_bridge/src/components/impl/Led.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smart_bridge/src/components/impl/Led.cpp b/smart_bridge/src/components/impl/Led.cpp index 0011da4..6a07d52 100644 --- a/smart_bridge/src/components/impl/Led.cpp +++ b/smart_bridge/src/components/impl/Led.cpp @@ -6,10 +6,10 @@ Led::Led(int pin){ pinMode(pin,OUTPUT); } -void Led::on(){ +void Led::switchOn(){ digitalWrite(pin,HIGH); } -void Led::off(){ +void Led::switchOff(){ digitalWrite(pin,LOW); };