Can I have 14 digital outputs on the Nano? I suppose I can (there are pins D0 to D13) but I notice that RX and TX are shared on the first digital pins. As far as I undestand.
But in practice how does that work? If I use TX and RX to load the program, then set them up for digital output, how can I load a new program on the board?
For most Arduino, that is true. Classic Nano V3 is one of the few exceptions. A0 to A5 can be used as regular digital pins, but not A6 or A7. Those can only be used as analog inputs.
Hi, if you want to increase the output of your arduino you cha use a simple shift register like the 74HC595, with 3 pins you can control from serial to parallel 8 output, you can also connect the data line of the shift registers in series so with 3 pins you can control 8 or 16 or 24 or 32 and more output, the only problem is that adding more output in series the sped decrease, if you want more speed you can use a I2C to parallel IC