change rounds pattern for more brightness
This commit is contained in:
		| @@ -7,7 +7,7 @@ void rgbyteclock(void) | |||||||
| 	uint8_t gain = 0; | 	uint8_t gain = 0; | ||||||
|  |  | ||||||
|  |  | ||||||
| 	rgbyteclock_hsv_fading(); | 	rgbyteclock_rounds(); | ||||||
|  |  | ||||||
| 	//rgbyteclock_rounds_white(); | 	//rgbyteclock_rounds_white(); | ||||||
|  |  | ||||||
|   | |||||||
| @@ -26,24 +26,24 @@ void rgbyteclock_rounds(void) | |||||||
|   led_turn_all_on(); |   led_turn_all_on(); | ||||||
|  |  | ||||||
|   while (1) { |   while (1) { | ||||||
| 	PORTC ^= (1<<PC5); | 	//PORTC ^= (1<<PC5); | ||||||
|     for (int i=0; i<14; i++) { |     for (int i=0; i<14; i++) { | ||||||
|       led_set(i, 0x1ff, 0x00, 0x00); |       led_set(i, 0xffff, 0x00, 0x00); | ||||||
|       led_flush(); |       led_flush(); | ||||||
|       timer_wait(50); |       timer_wait(50); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     for (int i=0; i<14; i++) { |     for (int i=0; i<14; i++) { | ||||||
|       led_set(i, 0x00, 0x1ff, 0x00); |       led_set(i, 0x00, 0xffff, 0x00); | ||||||
|       led_flush(); |       led_flush(); | ||||||
|       timer_wait(50); |       timer_wait(50); | ||||||
|     } |     } | ||||||
|     //timer_wait(100); |     //timer_wait(100); | ||||||
|  |  | ||||||
|     for (int i=0; i<14; i++) { |     for (int i=0; i<14; i++) { | ||||||
|       led_set(i, 0x00, 0x00, 0x1ff); |       led_set(i, 0x00, 0x00, 0xffff); | ||||||
|       led_flush(); |       led_flush(); | ||||||
|       timer_wait(20); |       timer_wait(50); | ||||||
|     } |     } | ||||||
|     //timer_wait(100); |     //timer_wait(100); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user