@@ -0,0 +1,17 @@
+void setup() {
+ Serial.begin(9600);
+ }
+
+void loop()
+{
+ Serial.println("Countdown:");
+ int i;
+ for (i=10;i>=0;i--){
+ Serial.println(i);
+ if (i<=0){
+ Serial.println("Happy new years");
+ break;}
+ delay(1000); }
@@ -0,0 +1,16 @@
+ Serial.begin(9600);}
+int i=10;
+ if (i>0){
+ i--;}
+ else{
+ Serial.println("Happy new years");}
+ delay(1000);}
@@ -0,0 +1,21 @@
+int i =10;
+ while (i>=0){
+ Serial.println("countdown:");
+ i--;
+ delay(1000);
+ if (i<0){
+ Serial.println("Happy news Years");