Over on YouTube [Andrew Neal] has a Function Generator Build for Beginners. As beginner videos go this one is fairly ...
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 ...