Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I week ago, I got my raspberry pi, connected it to a DC motor, and made the DC motor spin using python.
now, I'm trying to get the motor spinning both ways. I have tried but failed. What is the best way to do this?
Required, but never shown