I have used the external interrupt 1 to detect the zero crossing. I have used the timer interrupt at approx 39us so that it can have 255 resolution after it detect the zero crossing.
I have read from the previos message that suggest using timer to substitute the external interrupt. I though using the external interrupt will be much accurate to the timer interrupt since its real time detection.
Am i doing the correct way?
Why used timer interrupt instead of external interrupt?
Thank You very much,
Message Thread
« Back to index