Why is this extremely simple code not working? I have a problem with a for loop, and Serial.print(&quot;Its Working&quot;) does not appear. Seems simple, I've done it before, now for whatever reason, its not working anymore
void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:

  for (int x = 0; x &gt; 10; x++) {

    Serial.println(&quot;Its Working&quot;);
    delay(1000);
  }
}
The problem is:
for (int x = 0; x &gt; 10; x++) {

That can be rewritten, in pseudo code, as:

X is zero
While X is greater than 10:

Increment X



You see the problem? X is zero. It's not greater than 10, so it never increments.
I assume you actually wanted:
for (int x = 0; x &lt; 10; x++) {

Also be aware that your for loop will be run over and over again, so you will never see it finish.  You should add
Serial.println(&quot;Loop done&quot;);

at the end so you know it's finished.