#include #include //Adaptive from capcitor examplehttp://playground.arduino.cc/Main/CapacitiveSensor?from=Main.CapSense SoftwareSerial mySerial(7, 8); CapacitiveSensor cs_4_3 = CapacitiveSensor(4,3); void setup() { mySerial.begin(4800); Serial.begin(9600); } void loop() { long total1 = cs_4_3.capacitiveSensor(30); mySerial.println(total1); // print sensor output 1 Serial.println(total1); delay(10); // arbitrary delay to limit data to serial port }