Gast
#135704
ich weiß nicht was ich noch probieren soll! mein Problem: ich bekomme eine Impulsfolge von ein paar Rechtecksignalen. nach jedem 5. Impuls will ich etwas machen. -->output compare IR theoretisch tolle sache ich stelle also das Timerregister auf Zählstand 0, das OutputCompareRegister auf 5. Das Rechtecksignal hänge ich auf T1 und stelle den Timertakt auf extern rising edge. Anschließend gebe ich die beiden OutputCompareInterrupts frei (im TIMSK). jetzt das nicht so ganz Nachvollziehbare: OutputCompareISR wird nie ausgeführt, nie! bin für jeden Tipp dankbar! mfg ubootfanat