Skip to content

Instantly share code, notes, and snippets.

@SherifRagab
SherifRagab / main.c
Last active August 29, 2015 14:21 — 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