How to Design a Precise Inclinometer on a Custom PCB