1. to find the color code of the resistor based on the value of the resistance entered or 2. display the value of the resistor based on the color code on the resistor