daeun

a

......@@ -96,6 +96,7 @@ int main(){
if (state==0) {
unsigned long prevtime = millis();
while (1) {
if (state > 0) break;
unsigned long curtime = millis();
if (curtime - prevtime >= 9) {
prevtime = curtime;
......@@ -112,6 +113,7 @@ int main(){
}
else {
while (1) {
if (state == 0) break;
timer();
}
}
......