Author Options:

How do you run a servo and a dc motor with arduino and the arduino motor shield d3? Answered

im making a robot and i need to run a dc motor with the arduino motor sheild and a servo through it also. i would like a code to get me started. this is the dc motor part of the code but the servo part i do not know of. And i dont know how to combine them into one code

//Setup Channel A
pinmode(12, OUTPUT); 
pinmode(9, OUTPUT);


The forums are retiring in 2021 and are now closed for new topics and comments.