BI-DIRECTIONAL PEOPLE SENSOR AND COUNTER USING ARDUINO BOARD

stefanoGizz:
how do I call the counting code after the interrupts have occured so as to display the count/counter
(incrementing or decrementing) on the 3 digit seven segment display??

You have a variable that contains the value you last sent to the display. At the start of the loop you compare this variable with the count variable. If they are not the same you update the display.