how did you manage to fix the problem of getting the not declared error. all I keep getting is CapacitiveSensorSketch:12: error: 'CapacitiveSensor' does not name a type. I have tried all the things mentioned above, but nothing is changing and I have been at this for a couple of days