i try to write a code to input numbers by connecting a keypad and a lcd to atmega32 ic.i do it in atmel studio by c language. i initlize lcd and keypad.but i want limit operator only to enter numbers between 0-999. and i want if key# pressed one unit add to entered number and if * presses minus one unit entered number.my problem is i cant store entered numbers in a variable in my code. my code and my 3 question is marked below in code (01code???02code??03code??) please help me it is critical for my boss and my job:
How can i add my c code here??
To see my code and find a way to my problem what should i do?