Implementation of Up/Down Counter

Implementation of Up/Down Counter

(a). To Implement an Up/Down Counter Using Two General Purpose I/O Pins as Control Inputs.

(b). To Implement an Up/Down Counter Using One Interrupt Pin as a Control Pin.