Hallo
Im Datenblatt des Mega8 steht folgendes:
Frei übersetzt: Der Status der Komparators wird innerhalb von 1 bis 2 Taktzyklen (!) im ACO-Bit dargestellt.The output of the Analog Comparator is synchronized and then directly connected to
ACO. The synchronization introduces a delay of 1 - 2 clock cycles.
Vermutlich wird dann auch der Interrupt ausgelöst. Verwendet hatte ich das mal (ohne Interrupt) bei meinem Lieblingsprojekt:
https://www.roboternetz.de/community...l=1#post520992
Gruß
mic
Lesezeichen