void value not ignored as it ought to be

PaulS:

but no luck.

Programming is not a matter of luck. It is a matter of skill.

What does "but no luck" mean? Does the code not compile? Does it compile but not do what you want?

haha, fair enough. apparently skill I am lacking :wink: it is giving me the error of "no matching function for call to 'capacitiveSensor::capactiveSensor()"

for the line:

CapacitiveSensor cs_sensor[numberOfSensors];