hbc: simple on off
authorRobin Krens <robin@robinkrens.nl>
Tue, 17 May 2022 17:55:47 +0000 (19:55 +0200)
committerRobin Krens <robin@robinkrens.nl>
Tue, 17 May 2022 17:55:47 +0000 (19:55 +0200)
hbc.c

diff --git a/hbc.c b/hbc.c
index 157d617..0cca0dc 100644 (file)
--- a/hbc.c
+++ b/hbc.c
@@ -13,7 +13,10 @@ int main(void) {
        PORTB = (1 << PB3);
 
        while(1) {
-               
+               _delay_ms(2);
+               PORTB = 0;
+               _delay_ms(2);
+               PORTB = (1 << PB3);
        }
 
        return 0;