This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
avr-kbd/ardkbd.c
2012-12-06 11:48:17 +01:00

20 lines
180 B
C

#include <avr/io.h>
#include <util/delay.h>
#include <stdbool.h>
int main() {
DDRB = 0xFF;
PORTB = 0;
while(true) {
_delay_ms(1000);
PORTB ^= 0x20;
}
return 0;
}