This PIC Microcontroller project is used to count the occurrence of a given number from a set of numbers stored in the
Instrumental Model - Parallel Pattern with Interrupt. To simulate this circuit, initially activate Mixed Mode simulator from the Schematic Editor window. Simulation can be performed by selecting Run Transient analysis (Oscillograph) from Simulation menu.
PortA and PortB is set as Input Port.PortC is first set as Input Port and after reading the number to be checked, it is changed to Output Port. Whenever the interrupt signal goes low, PortB starts reading the data from the Parallel Pattern model. The count showing the occurrence of the given number after all the comparisons will be available in PortC and it will be displayed through the Seven Segment Display.