4-digit display timer that can be paused/resumed by waving to HC-SR04 sensor
the value of the resistors are 220 ohm's
the red light indicates that the timer is runnig
the blue light indicates that the sensor is running*note if you are using a 7-segmant display you should change the function [display_timer()] and insert your code for your display
EX:-
void display_timer(int a, int b, int c, int d, int t){
// your code here
...
// display (the first digit of display,a);
// display (the second digit of display,b);
.
.
// display (dot,t);
.
//end of the function
}