Trying to program 2 digital outputs but I don't know what their pin number is so I can program them. I know analog 0 is A0 so what is digital 0, D0? I tried that and it didn't work. Also can you make any of the digital pins on the Atmega328 an output?
bhay:
Trying to program 2 digital outputs but I don't know what their pin number is so I can program them. I know analog 0 is A0 so what is digital 0, D0?
Nope, just 0.
I tried that and it didn't work.
It's not usually a good idea to use UART pins for digital ports, particularly if you are use Serial communication.
See: