Hi,
can anyone recommend a simple lightweight library for measuring frequency of digital input pin signal?
I want to do a simple garage door status detector. Garage door opener has a contact, which is:
- open when door is closed,
- 0.5s open and 0.5s closed (repeating signal) when door is closing,
- 1s open and 1s closed (repeating signal) when door is opening and
- closed contact when door is open
I connected that contact to Moteino (Digital pin and GND pin) and now I want to detect the state of the door.