In one embodiment, a method receives a pulse width modulation signal. In one embodiment, the gain is controlled by a voltage divider circuit comprised of a first resistor having a first temperature coefficient, and a second resistor having a second temperature coefficient which is different from the first coefficient. The trigger output can be fully synchronous with the encoder’s position output signal with essentially no latency or jitter, increasing accuracy and providing improved system performance. The result event may be executed when the received wellness information matches the defined criteria in one of the number of rules.