Push button

Push buttons are an essential way to interact with the Arduino/RFzero. They are relatively simple to use provided they don’t bounce too much. However, debouncing can be made in both S/W and H/W. Below are two examples of how to do debounce in S/W, and how to detect a push button being pushed using an interrupt or scanning solution.

Interrupt

Scanning