I am using embedded C coding.I want to display characters on lcd.by characters I mean from A-Z.I have taken an array as p[26]={'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'};
I want that on press of a key1 the character should be displayed in ascending order,means when i first click key1 it should start display 'A' on lcd ,on again pressing 'B' should be displayed ..likewise till I keep pressing key1..I have taken another key which is key2,On pressing it the characters should be displayed in reverse order.Suppose 'D' is on lcd screen.When I press key2 it should display 'C'..like this I have used key1 and key2 as counters for displaying characters on the lcd.Could you send me the code for this ...