Bidirectional motor controller circuit using Ic l298 H bridge motor driver. L298 pin diagram and working of the H bridge motor driver. motor driver ic l298