Teensy 3.6 + CMPS11 compass
It is pretty essential to have a tilt compensated compass module on a boat that heels. The CMPS11 compass is an early example which met this requirement. Also noticed the module requires 3.6v (>3.3v) input. Compared to the CMPS10 the module adds a gyroscope. This enables a Kalman filter to combine the gyro and accelerometer to remove errors caused by tilting.
Video
Please click thumbnail image to start the video