]> robinkrens.nl - git repository - lra-as-sensor/commitdiff
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 157d6174929a3b9d5bf59166a0fe9a53e758f4aa..0cca0dcd7e69ed9f6762535dd32a84a5c3322bf6 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;