Zero crossing detector, a printed circuit board