Solenoid,LED control