Uno + GLCD + 2 Buttons = Frequency Generator 0 Hz -1 MHz

Hi,
I got it, it's working !

the program is:
uint8_t uiKeySelectPin = 0;
uint8_t uiKeyDownPin = 1;
uint8_t uiKeyUpPin = 2;

the function is:
Switch at pin 0 = +1 and Enter
Switch at pin 1 = select
Switch at pin 2 = no function

You have to push the select-button to put the cursor to the right position.
Then push the +1 button to select the number.
After making the setting push the select button until Apply is highlighted.
Then push the +1 button ( enter )

Thanks for this sketch
Kurti