Firmware · Bits that move pins
Firmware reads buttons and sensors by checking individual bits in an input register, and small mistakes in the test can quietly break it.