   readTemp();
   delay(10);
   readLight();
+  delay(10);
+  readTouch();
   delay(500);
 }
 

  Serial.println(tempVal);
}


#include <CapacitiveSensor.h>

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

void setup() {
  Serial.begin(9600);
