measuring with adcbut 10ms is to slow for bright light and to fast for low light

This commit is contained in:
bigalex 2012-10-08 21:50:44 +02:00
parent eb0a53092d
commit fb359ed605

View File

@ -335,9 +335,9 @@ void do_mode5(void) {
DDRC &= ~( (1 << PORTC1) | (1 << PORTC3)); DDRC &= ~( (1 << PORTC1) | (1 << PORTC3));
//pull ups off //pull ups off
PORTC &= ~( (1 << PORTC1) | (1 << PORTC3)); PORTC &= ~( (1 << PORTC1) | (1 << PORTC3));
sample= true;
}; };
sample= true;
timer_set(&mytimer, 1); timer_set(&mytimer, 1);
}; //end if timer_expired }; //end if timer_expired