A differential amplifier is used to determine the level of an output voltage of a charge pump circuit, and is operated in the voltage follower mode with a reference voltage being an input thereto for charging a capacitance element with a resultant output voltage of the amplifier circuit. A signal from the sensor is received via an input channel of the headset jack of the electronic device. In one specific application, a PC executes the source program and configures the internal registers of an IC that is coupled to the PC through the parallel printer port.