digitalWrite(led2, HIGH);
digitalWrite(led3, LOW);
noTone(buz);
}
else if(d<150)
{
digitalWrite(led1, HIGH);
digitalWrite(led2, LOW);
digitalWrite(led3, LOW);
noTone(buz);
}
else
{
digitalWrite(led1, LOW);
digitalWrite(led2, LOW);
digitalWrite(led3, LOW);
noTone(buz);
}