I have a program which free runs and can not be held in one place. I need to read some input signals from relays switches and contactor aux's. Does anyone have a simple method of debouncing switches?