int t1, t2;t1 = micros();if (counts >=0 && counts <=80) b1 = 1; else if(counts >=330 && counts <=410) b1 = 2; else if(counts >=450 && counts <=530) b1 = 3; else if(counts >=820 && counts <=1024) b1 = 4;t2 = micros();Serial.println(t2-t1, DEC);
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16