Controlling AC/DC lamps using channel relay modules