We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, i am working on 4X20 LCD ....i wrote code for that this code is working but when trying to reset my board ...LCD displays Different characters and the position of character also changed so,PLz guide me why this problem happen...
LCD shows Like special Symbols and when ever i tried to reset my board at the time LCD shifts the position of Character but i am not applied the command for that position.....so, Why LCD changes position when i done reset Plz help me ....i tried lot of times but i didnt find solution....
"i tried lot of times but i didnt find solution...."
You tried what?
Remember that you aren't in control of the processor pins during a reset - so how are the pins handled in terms of pull-up/pull-down? Have you made sure that the signalling really will stay idle during a reset?
It's important to always consider what happens with the processor pins during a reset when selecting how to connect external hardware. If you connect a relay, you don't want to get an obligatory short click in the relay on every reset. If connecting some communications device, you want to avoid random data to be sent.
Thanks for your reply, 0x38-->is used to select 2 lines but i am using 4 line LCD then how to select 4 lines
So - have you bought a display that you also have a datasheet/manual for? The documentation should tell you what available commands there are.