As an embedded systems engineer, you are given the task to measure the pulse width of a square wave using INT0 and INT1 interrupts on the ATMega32 microcontroller. The square wave signal is sent to both pins. The pulse width should be measured in microsecond (us) using Timer1 (TCNT1) and displayed on PORTA and PORTC continuously. Assume an 8 MHz oscillator clocks the microcontroller.
Write an AVR C program that implements the solution.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here