play/C/attiny10-test/main.c

11 lines
132 B
C
Raw Permalink Normal View History

2024-03-26 03:03:54 +00:00
#include <avr/io.h>
#include <util/delay.h>
int main(void) {
DDRB = 1 << 2;
while(1) {
PORTB ^= 1 << 2;
_delay_ms(500);
}
}