ESR meter with Arduino

Is the updated sketch posted here still updated to the posted schematic? Except for the ESR pin which is A0, the pulse pin does not seem to match the schematic based from the sketch.