Digital transmission in pressure sensors