
// Include the Servo library#include <Servo.h>// Declare the Servo pinint servoPin = 3;// Create a servo objectServo Servo1;void setup() {// We need to attach the servo to the used pin numberServo1.attach(servoPin);}void loop(){// Make servo go to 0 degreesServo1.write(0);delay(1000);// Make servo go to 90 degreesServo1.write(90);delay(1000);// Make servo go to 180 degreesServo1.write(180);delay(1000);}


Exercise Questions How do you define CRM? How are CRM activi...
No comments:
Post a Comment