CALIBRATE

CALIBRATE is used to set various sensor and control values that do not otherwise fit within a means of setting any other way.  For thermistors and temperature sensors that use an analog input port, it can be used to adjust the coefficients of the Steinhart-Hart equation used to map thermistor readings to temperature values.  For servo motors, it is used to adjust the PWM pulse width within the range for a servo motor, where the zero position is set at 1500 microseconds.  It is also used to set the calibration frequency for the DDS signal generator module (default is 24MHz).

For sensors supporting calibration, the value(s) may be obtained by READ sensor [i] CALIBRATION.

Commands for CALIBRATE