iRhythm Technologies interview question

How would you detect a button press using a microcontroller?