i will read up on flags thanks weedpharma
Allan
Im using a bd233 transistor as a gate activated by the arduino. So current is supplied direct from battery.
Im just looking to control the length of time the solenoid is open and only allow it to open once per button push.
Thanks again