This file contains hidden or 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
| int LaserState = LOW; // The variable that stores the state of the laser beam. | |
| int sensor = 8 ; // Change this value to calibrate your harp's sensor | |
| int delaylaser = 5; // If you increase this, the laser will be brighter, but the harp will be less fluid | |
| int delaymotor = 3; // This variable affects the speed, and fluidity of the harp. | |
| int LaserPin = 7; // Tell the arduino that the laser is on pin 7 | |
| int motorPin1 = 8; //Use these names for the pin numbers. | |
| int motorPin2 = 9; | |
| int motorPin3 = 10; |