PWM mit AtTiny28

#5836971
Lesenswert?

Hallo,

dafür stellst Du einfach die OMO-Bits richtig ein, was Du bestimmt 
bereits auf Seite 35 im DOC1062.pdf gelesen hast. Oder Du generierst bei 
jedem Überlauf einen Interrupt oder pollst die IRQ-Flags im 
Hauptprogramm.

"Bits 4, 3 – OOM01, OOM00: Overflow Output Mode, Bits 1 and 0
The OOM01 and OOM00 control bits determine any output pin action 
following an over- flow or a forced overflow in Timer/Counter0. Any 
output pin actions affect pin PA2. The control configuration is shown in 
Table 13."

Wer kennt es nicht?
https://m.youtube.com/watch?v=WPHx_LiXOVY

MfG

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren