int temp=40;
void setup() {
// put your setup code here, to run once:
pinMode(10, OUTPUT);
Serial.begin(9600);
do {
digitalWrite(10, HIGH); delay(250);
digitalWrite(10, LOW); delay(250);
temp -= 1;
Serial.println(temp);
} while (temp>30);
}
void loop() {
// put your main code here, to run repeatedly:
}
//do while loop is atleast runs even if the conditions are FALSE.