Local Button Control - Resinchem/3D-LED-Clock GitHub Wiki
If you built your clock as described at ResinChem Tech Blog and added the optional button controls, you can control some functions of the clock (primarily display mode, the countdown timer and scoreboard) via these buttons without the need for any external devices.
Local buttons might be handy in situations, such as games, where you wish to control the clock timer or scoreboard without needing a separate device, like a phone, tablet or laptop. For purposes here, I will be referring to the buttons by "color" as seen in the above picture. But for reference, the button colors, from top to bottom, are White, Red, Green, Yellow and Blue. If you wired your buttons differently or used a different boards/pins, you should assure the proper pin settings in the Settings.h file and adjust the information below accordingly to match your build.
Button Functions
The white button is used to change the current display mode of the clock and cycles between clock->countdown timer->temperature->scoreboard->clock. The other button functions vary, based on whether the clock is currently in countdown timer mode or scoreboard mode.
Note that if you are using MQTT, changing the clock via the local buttons also updates the MQTT states, so that MQTT/Home Assistant stays in sync with the clock even when manually updated via the buttons.