Professional Documents
Culture Documents
Review Form
Review Form
Review Form
85
Works well and finishes tasks with care.
Stays calm under pressure and helps keep
the team in good spirits.
95
Works super hard and helps plan the
project well.
Works smoothly with the team for a good
flow.
90
Works a lot and leads the team in putting
things together.
Takes responsibility for the project and
does a great job.
3
#include <Wire.h>
int pirSensorValue = 0;
int smokeDetectorValue = 0;
void setup() {
Serial.begin(9600);
pinMode(pirSensorPin, INPUT);
pinMode(smokeDetectorPin, INPUT);
pinMode(ledPin, OUTPUT);
pinMode(buzzerPin, OUTPUT);
void loop() {
pirSensorValue = digitalRead(pirSensorPin);
smokeDetectorValue = analogRead(smokeDetectorPin);
Serial.print("Motion:");
Serial.print(pirSensorValue);
Serial.print(",Smoke:");
Serial.println(smokeDetectorValue);
digitalWrite(ledPin, HIGH);
} else {
digitalWrite(ledPin, LOW);