Teensy 3.6 + CMPS11 compass This is a good tilt compensation compass. Photo Using 1.8k ohms resistors To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video Fritzing copy/paste Sketch