I am working on a project building a light organ for an upcoming performance. The original design used 12 digital I/O to control the 12 LED's - which represented 1 octave. However, we have decided to introduce a 13th note - which will be triggered at the very end and for this I was hoping to use one of my analogue I/O, however I am having trouble figuring out how to turn it on.
To turn on my digital I/O pins I use:
I have looked online and can't seem to find the appropriate code for defining the analogue pin as an output.
many thanks for your help