Skip to content

Instantly share code, notes, and snippets.

View prostosergik's full-sized avatar

Serge Liskovsky prostosergik

View GitHub Profile
@prostosergik
prostosergik / main.c
Last active August 29, 2015 14:07 — forked from cosard/main.c
#include "uart.h"
#include "rtc.c"
// Baud rate setting
#define BAUD 9600
void main(void) {
// Serial channel (9600, N,8,1)
uart_init((UART_BAUD_SELECT((BAUD),F_OSC)));
sei(); // interrupt enable