#include "Arduino.h"
int x = 0; // Initialize a counter variable
void setup() {
Serial.begin(115200);
}
void loop() {
// Use a do...while loop to increment and print the counter value
do {
Serial.print("x is: ");
Serial.println(x);
x = x + 1;
delay(500); // Wait for half a second
} while (x < 10);
while(true);
}