Why is this extremely simple code not working?
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.