allebb / pirrot

A radio repeater controller (supporting both simplex and duplex operation modes) for the RaspberryPi.
https://pirrot.hallinet.com
54 stars 12 forks source link

COR pin debounce functionality #23

Closed tekk closed 4 years ago

tekk commented 4 years ago

I've modified the approach for detecting COR pin state - instead of sleep(1); I've added timeout which starts over if there is another 1 on COR pin detected. I've changed the timeout to 250ms, the repeating is now much more responsive.