I have only recently discovered Arduino for model railroad control and am delighted with the possibilities but I seem to have fried the A0 control pin on my last nano board. The board still works otherwise and I can upload to it. Is there any other pin I can use for control?
I am using it to operate a double crossover switch with four servos.
Likely you could use any other pin on the board other than A6 and A7 (because those pins can only be used as inputs). Is there anything that makes you think you're restricted to using A0 only?
Thanks for your reply. The article in the online model railroad magazine from which I got the sketch claims that pin 14 (A0) is the control pin. Switching A0 to ground activates the servos. I see now, on reading the sketch again, that the control pin is defined in the sketch and that this might have been a silly question.
You’re welcome, I’m glad if I was able to be of assistance.
Don’t worry about silly questions. We’re always happy to help.
Some Arduino pins do have special properties so there are certain applications where you are restricted in which pins you can use. For example, analogWrite() only works on pins 3, 5, 6, 9, 10, and 11 on your Nano. But often you can use pretty much any pin you like.