Disclosed is a process for modification of a substrate so as to form an ultrahydrophobic surface on the substrate. A previously known gas meter is disposed in a bypass comprising a differential pressure system in the gas pipe for measuring a volumetric flow rate inside the gas pipe. Within the logic element, multiplexers are provided to allow the flip-flop and the LUT to be programmably connected such that either the output of the LUT may be connected to the input of the flip-flop or the output of the flip-flop may be connected to the input of the LUT. during the exposure to the microwave radiation.