An apparatus and method for controlling the operation of a utility device,
such as a cold cathode fluorescent lamp that is powered in accordance
with a pulse width modulation (PWM) signal, includes an analog sensor
which monitors the utility device to derive an output signal
representative of the PWM signal. An integrating analog-to-digital
converter (ADC), which is coupled to the sensor and has its operation
synchronized with an integral multiple of the period of the PWM signal,
produces an output representative of an average of the output of the
utility device.