Using a USP Window Bug in a Custom Circuit
Dry Circuit
  No Power Required
  Adjustable Operation of OC or CC
  


Sounds like a switch to me. Connect one end to ground and the other end to an interrupt pin with pullup enabled, enable the interrupt to detect the appropriate transition, and run with it.