im doing a project that use PIC microcontroller 18F452 to count visitor using C programming. the project consist of two sensor (sensor1 and sensor2). when the person enters the door, sensor1will detect it, followed by sensor2. then when the person leave the room, sensor2 will detect it 1st followed by sensor1. hence, i can calculate the number of people entering and leaving the room. but im facing a problem. my problem is what if a really big person stand in between both of the sensors for a certain period of time. my program will keep counting up although there is nobody leaving or entering the room. so how should i solve this problem.