The MT6701 is an easy to program magnetic rotary position sensor with a high-resolution 12-bit analog, PWM, UVW, ABZ. With SPI and I2C output is 14 bit. They should provide magnetic button ...
This repository can be added as an extension in MakeCode. This image shows the blocks code from the last commit in master. This image may take a few minutes to refresh.