change rounds pattern for more brightness
This commit is contained in:
parent
b5c35fa926
commit
3961627775
@ -7,7 +7,7 @@ void rgbyteclock(void)
|
||||
uint8_t gain = 0;
|
||||
|
||||
|
||||
rgbyteclock_hsv_fading();
|
||||
rgbyteclock_rounds();
|
||||
|
||||
//rgbyteclock_rounds_white();
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user