Can the analog input pins on the arduino uno be programmed like a digital pin for ex . as a input for a relay or to connect a motion sensor like device which gives digital output.
Yes, the analog function is only extra. All pins on an Uno are digital. But the analog pins can also read analog and the PWM can also do PWM etc.
thnx very much