Adding user definable value to TRIAC