adjustable digital spirit level

Here is the code which I have worked on a bit. It displays the values on the OLED now i want to add the select button , LED and buzzer.

In this i have defined the button and LED now what to do and how. Explanation with example would be very helpful as mentioned earlier I am learning.

sketch_adjustable_spirit_levela.ino (8.91 KB)