ASCII Serial Com
Serial communication library between computers, microcontrollers, FPGAs, etc. Uses only ASCII. Not the most efficient protocol, but meant to be easy to read
Loading...
Searching...
No Matches
avr
attiny817_xplained_blink.c
1
#include <avr/io.h>
2
#define F_CPU 3333333UL
// 20 MHz / 6
3
#include <util/delay.h>
4
5
// C0 is the user LED
6
// C5 is the user button
7
// A6, A7 are the capacitive touch buttons
8
9
int
main(
void
) {
10
11
PORTC.DIRSET = _BV(0);
12
13
while
(1) {
14
PORTC.OUTTGL = _BV(0);
15
_delay_ms(1000);
16
}
17
return
0;
18
}
Generated by
1.10.0