Calibration routines.
Adjust ports and interrupts for sensors based upon reality
Set both max and min (not only min) and abort sensoring when done.