3/** MagneticSensorAnalog(uint8_t _pinAnalog, int _min, int _max)
4 * @param _pinAnalog the pin that is reading the pwm from magnetic sensor
5 * @param _min_raw_count the smallest expected reading. Whilst you might expect it to be 0 it is often ~15. Getting this wrong results in a small click once per revolution
6 * @param _max_raw_count the largest value read. whilst you might expect it to be 2^10 = 1023 it is often ~ 1020. Note: For ESP32 (with 12bit ADC the value will be nearer 4096)