PRJ - State Change Detection (Edge Detection) for pushbuttons# From: State Change Detection (Edge Detection) for pushbuttons —— Arduino Documentation