I have to design a counter circuit that will count the number of bites. Im using a flex sensor (3 inch) to get the input. The circuit will consist of comparator and counter ic and 7 segment display. I want to know how this circuit will be connected in order for me to count each time a person bites. Flex sensor changes its resistance when it expands and contracts.