user14149: Ive been working with a motor project for a while and i bought this H-bridge(LMD18200). I dont understand how im supposed to connect it to the arduino.
Here is the datasheet for the lmd18200:


user-1: Most basic way would be to use only DIR, PWM and Break.
Use Break as enable (put high at begining of the program, put low when you want to start rotation).
Use Dir to change rotation of the motor (usually high is CV, low is CCV, but you need to check the datasheet)
And hook up PWM to PWM pin on arduino. This will control the speed. 

14149: <p>Ive been working with a motor project for a while and i bought this H-bridge(LMD18200). I dont understand how im supposed to connect it to the arduino.</p>

<p>Here is the datasheet for the lmd18200:</p>

<p><img src="https://imagizer.imageshack.us/v2/484x397q90/924/KkI1QB.png" alt="the datasheet"></p>
 -1: <p>Most basic way would be to use only DIR, PWM and Break.</p>

<p>Use Break as enable (put high at begining of the program, put low when you want to start rotation).</p>

<p>Use Dir to change rotation of the motor (usually high is CV, low is CCV, but you need to check the datasheet)</p>

<p>And hook up PWM to <a href="https://www.arduino.cc/en/Tutorial/PWM" rel="nofollow">PWM</a> pin on arduino. This will control the speed. </p>
