Go Down

Topic: LCD and Analog pins (Read 534 times) previous topic - next topic

Hey!
I just wanted to know whether I can use analog  pins for LCD and how??
This doesn't seem to work    LiquidCrystal lcd(A0, A1, A5, A4, A3, A2);    and neither does this    LiquidCrystal lcd(14,15,19,18,17,16);
I get a garbled output on the LCD. Any sort of help would be appreciated. Thanks:-)

johnwasser

The first one should work as long as you are not using those pins for anything else.

What model Arduino are you using?

Do you have anything else attached to it?
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

No, I am not using those pins for any other purpose  and nor do I have anything else attached to the arduino.
I am using a custom built ATmega8 arduino.

Thanks for the reply :-)

Extremely sorry, my bad :P
It is working proper. I had actually messed up the wiring.

Go Up