Circuit design · Inputs: buttons, pull-ups, noise

Checkpoint: one press, one change

A button input that floats, leaks, chatters or dies on a wrong cable fails the same way: the firmware believes it.