seem to have a new problem this one really is stumping me even after reading about how to use these, since its using a library it makes it confusing. Seems like capacitive sensor library makes you set the objects value to a function in the library, so I am not sure how to make this work.
I need to populate an array of objects I would expect it to work how I have it here in the setup function:
 CapacitiveSensor cs_sensor[numberOfSensors];
Â
 for(int i = 0; i < numberOfSensors; i++){
  cs_sensor[i] = CapacitiveSensor(capSenseSend,sensorPin[i]);
 }
so I can later set the current reading using this in the loop:
void setSensorValue(){
 for(int i = 0; i < numberOfSensors; i++){
  letters[i].setCurrentReading(cs_sensor[i].capacitiveSensor(50)); Â
 }
}
but no luck.