Those are constants I believe defined using #define type stuff in the arduino files which are specific to the board.
It’s really my magnetic sensors in PWM settings that create my problems
I redid min and max detection with find_raw_min_max.ino
and it’s much better, the values weren’t the same as last time …
MagneticSensorPWM sensor = MagneticSensorPWM(PB6, 2, 935);
It’s almost perfect in 1 direction
on the other hand, if I reverse the rotation, I get a lot more vibrations with a little “clack” always in the same place …
You may be able to solve the clack using the smoothingsensor thing Deku made.
Thanks, I’m looking at SmoothingSensor.
https://community.simplefoc.com/t/smoothingsensor-experimental-sensor-angle-extrapoltion/3105/6?u=multisystem