Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4922

Step Motor for MSP430

$
0
0
What I'm trying to achieve with this code is to move a single-arm of an SG90 motor from 0 degrees to 180 degrees back and forth.

I'm using the MSP430g2553 to do this. The connection is simple, is just the SG90 connected to the Launchpad, and using the onboard button P1.3

will enable the following actions: When it is pressed, the motor will start moving back and forth, if I press it again, the motor will stop and the onboard LEDs will indicate the state of the motor, the red for when it's...

Step Motor for MSP430

Viewing all articles
Browse latest Browse all 4922

Trending Articles