daeun

a

......@@ -93,7 +93,8 @@ int main(){
if (wiringPiISR(Keypad[2], INT_EDGE_FALLING, &reset) < 0) {
return 1;
}
if (state==0) {
while (1) {
if (state == 0) {
unsigned long prevtime = millis();
while (1) {
if (state > 0) break;
......@@ -107,7 +108,7 @@ int main(){
data[2] = (time % 1000) / 100;
data[3] = (time / 1000) % 10;
data[4] = (time / 10000) % 10;
data[5]=time / 100000 ;
data[5] = time / 100000;
timer();
}
}
......@@ -117,5 +118,6 @@ int main(){
timer();
}
}
}
return 0;
}
\ No newline at end of file
......