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 ledPin1 = 6; // Red LED for FlameDetector sensor | |
| int ledPin2 = 7; // Blue LED for PIR sensor | |
| int PIR_sensor, Flame_Detector_sensor; // Assign two integers. | |
| void setup() | |
| { | |
| Serial.begin(9600); // Communication rate | |
| pinMode(ledPin1, OUTPUT); // Assign ledPin1 to output | |
| pinMode(ledPin2, OUTPUT); // Assign ledPin2 to output | |
NewerOlder