Implement a counter using external interrupt. Assume INT0 is connected to a switch that is normally high.
Fantastic news! We've Found the answer you've been seeking!
Question:
Implement a counter using external interrupt.
Assume INT0 is connected to a switch that is normally high. Write a program that counts the number of times a falling edge appears on INT0 and put that value on PORTB.
Furthermore, whenever the count is equal to the last two digit of your roll number it should toggle an output pin.(roll no. 50) write code for avr
Related Book For
Statistics for Business Decision Making and Analysis
ISBN: 978-0321890269
2nd edition
Authors: Robert Stine, Dean Foster
Posted Date: