From 37325f2b1665ef686d000902fcc2b3af1072b060 Mon Sep 17 00:00:00 2001 From: hugogogo Date: Tue, 4 Mar 2025 13:25:50 +0100 Subject: [PATCH] fix ex01 --- module00/ex01/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module00/ex01/main.c b/module00/ex01/main.c index 9fea211..7ee0059 100644 --- a/module00/ex01/main.c +++ b/module00/ex01/main.c @@ -30,7 +30,7 @@ int main() // turns on led 1 SET(DDRB, D1); // make PB0 as OUTPUT (pullup is off) - CLEAR(PORTB, D1); // make PB0 as HIGH (LED turns ON) + SET(PORTB, D1); // make PB0 as HIGH (LED turns ON) // SET(DDRB, D2); // make PB1 as OUTPUT (pullup is off) // CLEAR(PORTB, D2); // make PB1 as LOW (LED turns OFF)