This shows you the differences between two versions of the page.
pm:lab:lab4-2021 [2021/04/05 12:14] alexandru.predescu [4. Exercitii] |
pm:lab:lab4-2021 [2021/04/05 12:15] (current) alexandru.predescu [4. Exercitii] |
||
---|---|---|---|
Line 206: | Line 206: | ||
// Even if this does nothing. It has to be here | // Even if this does nothing. It has to be here | ||
// Else the code just doesn't work. Still don't know why. | // Else the code just doesn't work. Still don't know why. | ||
+ | // [AP] Deoarece ai activat intreruperea de compare match: TIMSK0 |= (1 << OCIE0A); | ||
+ | // [AP] Astfel, daca nu e definit ISR-ul se va reseta uC | ||
} | } | ||