 const int gatePin = 11;
 const int tempPin = A0;
 const int lightPin = A1;
+const int greenLED = 8;
 int mode, tempVal, outputValue;
 CapacitiveSensor capSensor = CapacitiveSensor(4, 2);
 

  pinMode(gatePin, OUTPUT);
  pinMode(tempPin, INPUT);
  pinMode(lightPin, INPUT);
  Serial.println("Enter 0 or 1");
}


    }
    delay(500);
  }
  /*readTemp();
  delay(10);
  readLight();
  delay(10);
  readTouch();*/
  delay(500);
}

void startMotor() {
  /*outputValue = 0;
  while (outputValue < 256) {
    analogWrite(gatePin, outputValue);
    outputValue++;
    delay(10);
  }*/
  digitalWrite(greenLED, HIGH);
}

void readTemp() {
