Electronic pressure sensors measure pressure ... and the value for the maximum wind speed. The output for direction is an analog voltage signal directly proportional to the azimuth angle.