https://howtoprepforbotoxappointment.pages.dev/posts/magnetic-absolute-encoder/