measuring with adcbut 10ms is to slow for bright light and to fast for low light
This commit is contained in:
parent
eb0a53092d
commit
fb359ed605
|
@ -335,9 +335,9 @@ void do_mode5(void) {
|
|||
DDRC &= ~( (1 << PORTC1) | (1 << PORTC3));
|
||||
//pull ups off
|
||||
PORTC &= ~( (1 << PORTC1) | (1 << PORTC3));
|
||||
|
||||
sample= true;
|
||||
};
|
||||
sample= true;
|
||||
|
||||
timer_set(&mytimer, 1);
|
||||
}; //end if timer_expired
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user