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
| // set up constants for input and output pins | |
| const int redLEDPin = 9; | |
| const int greenLEDPin = 10; | |
| const int blueLEDPin = 11; | |
| const int redSensorPin = A0; | |
| const int greenSensorPin = A1; | |
| const int blueSensorPin = A2; | |
| // add variables for incoming sensor and output values |