Problem interfacing flow sensor and HC-SR04 (ultrasonic) sesnsor.

Hi friends! Can you please help me with code? I attach a copy below.

water iot new block.png|1269x858