I need a code for a pic16f877a for a resistance test. It goes like this, the resistance is 4700 ohms. The pic needs to measure the resistor, which needs to have a accuracy of +/- 5. which uses the ADC. this is just one part of this. dose anyone have it in c like sourceboot software.