Electronic devices are provided to measure the angle between two arbitrary surfaces, using the local direction of gravity as an absolute direction reference. One case is an electronic device to measure the angle between the keel of a rowing shell and the oarlock pin.