Select Git revision
Forked from
Peter Gerwinski / hp
281 commits behind the upstream repository.
Peter Gerwinski authored
blink-1.c 247 B
#include <avr/io.h>
#define F_CPU 16000000l
#include <util/delay.h>
int main (void)
{
DDRD = 0x01;
PORTD |= 0x01;
while (1)
{
_delay_ms (500);
PORTD &= ~0x01;
_delay_ms (500);
PORTD |= 0x01;
}
return 0;
}