Projects › Projects › Program to make a bidirectional visitor counter using IR sensor › }if(up==1&&down==0) //check
October 17, 2015 at 10:06 am
#13402
ashish gaikwad
Participant
}if(up==1&&down==0) //check if down pin is pressed{test–;num=test;dig_4=num%10;num=num/10;dig_3=num%10;num=num/10;dig_2=num%10;dig_1=num/10;if(test==0)test=9999;}}}