Disable too flashy backlight cycling in life

This commit is contained in:
bernd 2011-08-01 06:15:44 +02:00
parent cf92a1c00b
commit 49c49e328f
1 changed files with 4 additions and 0 deletions

View File

@ -159,6 +159,7 @@ void nextledcycle() {
uchar stepmode=0;
uchar randdensity=0;
//uint8_t bl=0;
void main_life(void) {
backlightInit();
@ -198,9 +199,12 @@ void main_life(void) {
stepmode=1;
break;
}
// bl=(bl+1)%101;
// backlightSetBrightness(bl);
draw_area(); // xor life pattern over display content
lcdDisplay();
draw_area(); // xor life pattern again to restore original display content
lcdShift(1,-2,1);
delayms(10);
calc_area();
}