18 lines
228 B
C
18 lines
228 B
C
#include <avr/io.h>
|
|
|
|
#include "mystd.h"
|
|
#include "utils.h"
|
|
|
|
#define D1 PORTB0
|
|
#define D2 PORTB1
|
|
#define D3 PORTB2
|
|
#define D4 PORTB4
|
|
|
|
int main(void) {
|
|
DDRB |= _BV(D1);
|
|
|
|
while (true) {
|
|
PORTB ^= _BV(D1);
|
|
delay_ms(500);
|
|
};
|
|
}
|