Pages: [1]   Go Down
Author Topic: LCD and Analog pins  (Read 474 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:-)
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8975
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 :-)
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Extremely sorry, my bad smiley-razz
It is working proper. I had actually messed up the wiring.
Logged

Pages: [1]   Go Up
Jump to: