This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Servo.h> | |
Servo myservo_green; // create servo object to control a servo | |
Servo myservo_red; | |
Servo myservo_yellow; | |
Servo myservo_blue; | |
// twelve servo objects can be created on most boards | |
int pos = 0; // variable to store the servo position |