Code for menu using potentiiometer and button

I have a button, potentiometer, LCD and a K64F board. How do i go about making a menu that the user can scroll through using the potentiometer and select with the button?

Thanks
Topic archived. No new replies allowed.