Arduino Motor Shield R3 Library

Hi, I have been trying to create a program for a avoiding robot, but every other program I have seen for this, has a #include <>.

I think it is including a motor shield library but I can't seem to find a library for Arduino Motor Shield R3, but this one GitHub - hanseartic/MotorShield: Arduino Library for the Motor Shield Rev3. Which won't work. I may be installing it wrong though.

Do I need the library? If so, can I get some help installing it.


Hi Patch,

Can you post the code you have written so far? Also the board you are using + details on the motor shield itself? Often the motor shield mfgr provides the header file for it. You have to save it in an accessible location and then include the ".h" file using #include command. I hope this helps.