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
attiny3217_cnano_blink.c
1#include <avr/io.h>
2#define F_CPU 3333333UL // 20 MHz / 6
3#include <util/delay.h>
4
5// A3 is the yellow user LED
6// B7 is the user button
7
8int main(void) {
9
10 PORTA.DIRSET = _BV(3);
11
12 while (1) {
13 PORTA.OUTTGL = _BV(3);
14 _delay_ms(1000);
15 }
16 return 0;
17}