24 lines
260 B
C
24 lines
260 B
C
|
|
#include "rgbyteclock.h"
|
|
#include "timer.h"
|
|
#include "rtc.h"
|
|
#include "lcd.h"
|
|
#include "ledcontroller.h"
|
|
|
|
|
|
void rgbyteclock(void)
|
|
{
|
|
|
|
while (1) {
|
|
|
|
led_set(0, 4000, 0, 0);
|
|
led_flush();
|
|
timer_wait(500);
|
|
|
|
led_set(1, 0, 10000, 0);
|
|
led_flush();
|
|
}
|
|
|
|
}
|
|
|