New code for L298N H bridge