HC-SR04 working in one pin mode with IRQ