I'm electronics student. I'm a newbie in programming. I have loved C++ after watching some videos on C++. Am using Atmega32 uC, WinAVR GNU GCC compiler programming tool, 16*2 Hitachi HD4478OU LCD for my project.
I have connected 3 switches to PA1, PA2 and PA3. LCD connected to PORTC, PD6 and PD7. I want to write C++ program that will display on the LCD "SWITCH 1 IS PRESSED" when switch on is pressed, "SWITCH 2 IS PRESSED" when switch 2 is pressed and "SWITCH 3 IS PRESSED" when switch 3 is pressed and if no switch is pressed it should display "WELCOME" swinging from end to end. Each switch press should light a corresponding LED connected to PA1,PA2 and PA3.
Please somebody help me as this is my school project and I have only few months to submit it, the circuit is already built. I can write for the LED, but don't know how to write for the LCD and how to combine the two programs.