Can I use just an Arduino Gemma to control a motor?
can use arduino gemma control motor?
here code i'm using:
here code i'm using:
code: [select]
int lowspeed = 70;
int halfspeed = 127;
int fullspeed = 255;
int motor = 2;
void setup()
{
pinmode(motor, output);
}
void loop()
{
analogwrite(motor, lowspeed);
}
no, need motor driver. always.
Arduino Forum > Using Arduino > Motors, Mechanics, and Power (Moderator: fabioc84) > Can I use just an Arduino Gemma to control a motor?
arduino
Comments
Post a Comment