Hi,
I'm trying to construct code to control a 12v bottle valve with a single momentary push button.
The solonoid valve has 3 wires, ground, open and closed, it only has to be powered momentarily to opperate open/closed as it latches.
I will use some logic mosfets to interface with the solonoid, that part I'm fine with.
I would like some help on code to toggle two o/p's high for 1/4 sec from a single momentarily high i/p, 1 press=Open, and a second press=Closed.
I have been reading the manuals and seen code to toggle a single o/p, and even code for an r/s flipflop, but non are quite right, and I can't seem to modify them to work for this.
At the moment I have no code to offer, as I don't know where to start.
I'm trying to construct code to control a 12v bottle valve with a single momentary push button.
The solonoid valve has 3 wires, ground, open and closed, it only has to be powered momentarily to opperate open/closed as it latches.
I will use some logic mosfets to interface with the solonoid, that part I'm fine with.
I would like some help on code to toggle two o/p's high for 1/4 sec from a single momentarily high i/p, 1 press=Open, and a second press=Closed.
I have been reading the manuals and seen code to toggle a single o/p, and even code for an r/s flipflop, but non are quite right, and I can't seem to modify them to work for this.
At the moment I have no code to offer, as I don't know where to start.