/* * ---------------------------------------------------------------------------- * "THE BEER-WARE LICENSE" (Revision 42): * wrote this file. As long as you retain this notice you * can do whatever you want with this stuff. If we meet some day, and you think * this stuff is worth it, you can buy me a beer in return. * (c) 2014 Stefan Rupp * ---------------------------------------------------------------------------- */ #include #include #include "timer.h" #include "lcd.h" #include "rgbyteclock.h" #include "spi.h" #include "ledcontroller.h" #include "rtc.h" #include int main(void) { timer_init(); rtc_init(0); //spi_slave_init(); led_init(); sei(); lcd_init(); DDRC |= (1<