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
arduino_uno_blink.c
1#include <avr/io.h>
2#define F_CPU 16000000UL
3#include <util/delay.h>
4
5int main(void) {
6
7 DDRB |= _BV(5);
8
9 while (1) {
10 PORTB |= _BV(5);
11 _delay_ms(1000);
12 PORTB &= ~(_BV(5));
13 _delay_ms(1000);
14 }
15 return 0;
16}