Add code to find the dynamic range of a motor using an Arduino Mega