diff --git a/module01/ex00/main.c b/module01/ex00/main.c index 67fced5..247c7c8 100644 --- a/module01/ex00/main.c +++ b/module01/ex00/main.c @@ -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