oneline comment

This commit is contained in:
hugo LAMY
2025-03-06 16:24:54 +01:00
parent ebb578db5f
commit 136c3b93b0

View File

@@ -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