Halloween project - have two 12v dc motors and a full H-bridge with PWM and current sensing.
Need a program to turn each of the motors in the same direction for ~30 seconds and then each to turn in the reverse direction for ~30 secs. I think this is fairly easy to program but the delay command does not (in my hands) allow both sides of the H-bridge to function in unison. Thinking that millis(s) programming is needed. Can send more details on the H-bridge, although it is not well documented. Need the controller to operate independently and not need a manual switch to change direction.
H-bridge description at: [login to view URL]