oneline comment
This commit is contained in:
@@ -69,9 +69,7 @@ int main() {
|
||||
MODE_OUTPUT(LED2);
|
||||
CLEAR_ELEM(LED2);
|
||||
|
||||
TCCR1B |= (PRESCALE_SET); // set timer with prescale
|
||||
// -> 16.4 : set timer with bits CS10-12, in register TCCR1B
|
||||
// -> table 16-5 : prescale values
|
||||
TCCR1B |= (PRESCALE_SET); // 16.4 : set timer with bits CS10-12, in register TCCR1B, table 16-5 : prescale values
|
||||
|
||||
while(1) {
|
||||
if (TCNT1 >= TIME_MS(500)) { // 16.11.4 : read timer with register TCNT1 (read/write allowed), that combines two 8 bits registers
|
||||
|
||||
Reference in New Issue
Block a user