A device and method are provided for detecting and configuring a solid
state dimmer when wired in series or parallel with a load powered by an
alternating current (AC) input. The device can comprise a microcontroller
configured to be powered by the AC input. A zero-cross detector in
communication with the microcontroller is capable of detecting when an AC
waveform crosses zero and generating a corresponding pulse signal when
the AC waveform crosses zero. A pulse analyzer can be included and
configured to determine when the zero-cross detector is generating pulses
exceeding a pre-determined time length threshold that represents a serial
wiring configuration.