diff options
Diffstat (limited to 'ardkbd.c')
-rw-r--r-- | ardkbd.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ardkbd.c b/ardkbd.c new file mode 100644 index 0000000..2107a5d --- /dev/null +++ b/ardkbd.c @@ -0,0 +1,20 @@ +#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; +} + |