in the schematic i connected the parallel port to point "A" and removed the potentieometer. I connected r4 to c18 and r3. The program i am using is Java. I am sorry i dont understand what you mean when you want me to check the voltage. This whole time i was checking resistance and the resistance is changing. will attempt to figure out the voltage.