johnwasser:
You forgot to call get_key():void loop()
{
int value;
adc_key_in = get_key(analogRead(A0)); // Add this line
thank you..it helped. but my purpose is to enable push button increase and decrease the integer value. my coding only showing the count. any other suggestion?. sorry im new in this arduino.