user71241: Problem: I've made a circuit consisting of an 8x8 led matrix, which uses all of the digital pins on the Arduino UNO board, and I want to add an LED too it.
I tried looking around the internet but so far, I have not seen any solution on how to use a simple LED with no digital pins to spare.
So I ask, is it possible to connect an LED with no leftover digital pins? I just want to be able to turn the LED on and off.
Thanks.

user71241: Just found this:
https://forum.arduino.cc/index.php?topic=311099.0
Turns out you can use the analog pins of an Arduino UNO using this:
pinMode(A1,OUTPUT);
digitalWrite(A1,HIGH);

You just have to list it as an analog pin. Seems to be working, don't think there are any downsides, as far as I see.

71241: <p>Problem: I've made a circuit consisting of an 8x8 led matrix, which uses all of the digital pins on the Arduino UNO board, and I want to add an LED too it.</p>
<p>I tried looking around the internet but so far, I have not seen any solution on how to use a simple LED with no digital pins to spare.</p>
<p>So I ask, is it possible to connect an LED with no leftover digital pins? I just want to be able to turn the LED on and off.</p>
<p>Thanks.</p>
 71241: <p>Just found this:</p>
<p><a href="https://forum.arduino.cc/index.php?topic=311099.0" rel="nofollow noreferrer">https://forum.arduino.cc/index.php?topic=311099.0</a></p>
<p>Turns out you can use the analog pins of an Arduino UNO using this:</p>
<pre><code>pinMode(A1,OUTPUT);
digitalWrite(A1,HIGH);
</code></pre>
<p>You just have to list it as an analog pin. Seems to be working, don't think there are any downsides, as far as I see.</p>
