First of all, sorry for this up. Is a old thread.
Peter, I’m in the same situation that you were. I have a latching DC valve, and I want manage it with OpenSprinkler software that run on raspberry pi. I have a motor driver board, L298D which looks like L293D, but I need to configure the valve (in OS settings) with two tasks, one to open and another to close, connecting a motor driver board to 2 GPIO pins.
How did you do this setting into OS code? I suppose you modified the source code, right?