From: Robin Krens Date: Tue, 17 May 2022 17:55:47 +0000 (+0200) Subject: hbc: simple on off X-Git-Url: https://robinkrens.nl/gitweb/?p=lra-as-sensor;a=commitdiff_plain;h=ae15375e80fef44e981818c05c2156a75d2e9c35 hbc: simple on off --- diff --git a/hbc.c b/hbc.c index 157d617..0cca0dc 100644 --- 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;