I am trying to interface a matrix keypad ( 4x4 ) to the UNO.
Running short of IO pins. Can I use the Analog Pins 14,15,16,17 to interface either the Row pins or Column Pins ?
Tried reading the data sheets but this information is not very explicit - or I missed it.
Thanks
Yes, you can. digitalRead/Write( 14, LOW/HIGH) etc.
Don't you still need to set them with pinMode to be output?
Magician:
Yes, you can. digitalRead/Write( 14, LOW/HIGH) etc.
You should always use the name of the pin that's printed on the board. This always works for any Arduino pin, even for odd ones like MISO on the Arduino Micro (This pin doesn't have a number in the 'digital' numbering system.)
pinMode(A0, OUTPUT);
digitalWrite(A0, LOW);
Thanks to all those who responded and the tip regarding the pin addressing by its function is well appreciated.