Can I use just an Arduino Gemma to control a motor?


can use arduino gemma control motor?

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

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'