You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
220 B
C

#include <util/delay.h>
#include <avr/io.h>
#define LED PORTB5
int main(void) {
DDRB |= (1 << LED);
for/*ever*/(;;) {
PORTB |= (1 << LED);
_delay_ms(100);
PORTB &= (0 << LED);
_delay_ms(100);
}
}