Skip to content

Commit

Permalink
Added motor test code
Browse files Browse the repository at this point in the history
  • Loading branch information
killkelleyr committed Mar 2, 2015
1 parent 8cfc235 commit cafe13a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Motor and ESC Test/Motor and ESC Test.ino
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#include <Servo.h>

Servo esc1;
Servo esc2;
Servo esc3;
Servo esc4;

//min 49
//max 140
int arm1=0;
int arm2=0;
int arm3=0;

void setup()
{
esc1.attach(7);
esc2.attach(3);
esc3.attach(4);
Serial.begin(9600);
esc1.write(arm1);
esc2.write(arm2);
esc3.write(arm3);

}

void loop(){
}


0 comments on commit cafe13a

Please sign in to comment.