We are students an we are working in class with mobile robots. We want to move it with a state machine. Some work with a tb6612fng and other engine with Arduino shield.
For simplicity, we wanted to use a type library DC Motor Bot, bot.h, but we have no idea how to set and dirleft pin, brakeleft, pwmleft and right ...
For simplicity, we wanted to use a type library DC Motor Bot, bot.h
Before you try to use a library that you don't understand, make the robot move WITHOUT any library. With a motor shield, turning a pin on or off, using digitalWrite(), to control direction and setting the speed, using analogWrite(), is not at all difficult.