Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // declare a global constant
- // give the LED pin numbers a name
- int ledBluePin = 9;
- int ledGreenPin = 10;
- int ptPresPin = A0;
- int ptPhotPin = A1;
- int ptPresVal;
- int ptPhotVal;
- int brtPresVal;
- int brtPhotVal;
- void setup() {
- pinMode(ledBluePin, OUTPUT);
- pinMode(ledGreenPin, OUTPUT);
- Serial.begin(9600);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement