Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The electronics used for this prototype consisted of: An Arduino Uno, Arduino motor shield, 3 jumper wires, and a 360 degree motor.

...

Arduino code used for constant counterclockwise motion:


#include <Servo.h>
#define Servo_PWM 6
Servo myservo;
int pos= 0;
void setup() {
myservo.attach (6);
}
void loop()
{
myservo.writeMicroseconds (2500);
millis();
}