How can I modify this to be used with regular buttons?

Hi
It sounds like the code was written for the 16x2 LCD display with the buttons arranged as a potential divider.

Each button caused a different voltage output, which the analogRead would convert to a variable representing which button was pushed.
The circuit is like this.
buttons.jpg
If you want discrete buttons, you could wire a button to each of a digital input of your Arduino.

Tom... :slight_smile:

buttons.jpg