ADDED ROUTINES TO READ BUTTON VALUES
READING BUTTONS / SYNCHRONIZING RTC

- added type ButtonValue which contains all information to get stable analog button values
- added logic to synchronize the RTC with the compilation time if it is detected that it needs synchronization with an external time source
- removed a lot of debugging statements
- removed the method to measure the values of the buttons