Hello I am having a problem with my L298N motor driver. I want to use Pyfirmata to control my driver but even after experimenting, researching and implementing it is not working. I want the Pin 1 and 2 to be activated by a command. So what's the command(in python)? Here is the code:
Hello @DrDiettrich thanks for you help. I have figured out the problem myself. I set both Output1 and Output2 to High thus they were cancelling each other
Hello again, I just wanted to ask 1 more question. Usually to control the speed of the motor through a motor driver you have to use the enable pin, and in the code you write this analogWrite(9, 100)
. So if I want it to do the same thing just using Pyfirmata what will be the code.
Thanks.