This shows you the differences between two versions of the page.
|
pm:lab:lab4-2021 [2021/04/05 11:53] jan.vaduva [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 | ||
| } | } | ||
| Line 275: | Line 277: | ||
| // 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 | ||
| } | } | ||