Window sensor, a printed circuit board