change rounds pattern for more brightness

This commit is contained in:
Stefan Rupp 2014-08-09 11:28:37 +02:00
parent b5c35fa926
commit 3961627775
2 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@ void rgbyteclock(void)
uint8_t gain = 0;
rgbyteclock_hsv_fading();
rgbyteclock_rounds();
//rgbyteclock_rounds_white();

View File

@ -26,24 +26,24 @@ void rgbyteclock_rounds(void)
led_turn_all_on();
while (1) {
PORTC ^= (1<<PC5);
//PORTC ^= (1<<PC5);
for (int i=0; i<14; i++) {
led_set(i, 0x1ff, 0x00, 0x00);
led_set(i, 0xffff, 0x00, 0x00);
led_flush();
timer_wait(50);
}
for (int i=0; i<14; i++) {
led_set(i, 0x00, 0x1ff, 0x00);
led_set(i, 0x00, 0xffff, 0x00);
led_flush();
timer_wait(50);
}
//timer_wait(100);
for (int i=0; i<14; i++) {
led_set(i, 0x00, 0x00, 0x1ff);
led_set(i, 0x00, 0x00, 0xffff);
led_flush();
timer_wait(20);
timer_wait(50);
}
//timer_wait(100);