/* * ---------------------------------------------------------------------------- * "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 "rgbyteclock.h" #include "timer.h" #include "lcd.h" #include "ledcontroller.h" void rgbyteclock(void) { ledcontroller_turn_all_on(); while (1) { //led_set(11, 0x7ff, 0x00, 0x00); for (int c=0; c<48; c++) { //PORTC ^= (1<