Hai,
Im new to Arduino can any one suggest please how to program Arduino nano using lcd 162 and single switch in digital input and output mode using switch case. Like for example lcd should display some text when switch is pressed and when released display some text. Please If can any better links for learning Arduino nano examples using lcd 162 would be thankfull.
What has Google suggested?
What Arduino programming experience do you have?
Break your requirement down into its separate parts and learn to do each one separately - pressing a switch and displaying data on an LCD. When you can get them to work separately in simple programs it will be time to build a comprehensive program.
There are many examples with the Arduino IDE and many online tutorials
...R
https://learn.adafruit.com/search?q=LCD
should display some text when switch is pressed and when released display some text.
Is this for school?
LiquidCrystal - Arduino Reference would be a great starting point.