SensorOp MySensorOp(int ledControl, int sensorPin, int samples)
Read = MySensorOp.readSensor(Read);
MySensorOp.readSensor(int value,int filter)
thanks for the tip. i bought a pair of thee HC-SR04 and they plugged right onto the arduino board and worked - no brainer. These are a little large (I need 96 sensors) too. What I am looking for is something to sense velocity. I think that a library can be written for opto (infra red) sensors which are around $1.20 each. I'm looking at the vishay CNY70; the vishay TCRT5000; rohM RPR-220.My idea was to test each of these and publish the result with a basic arduino circuit and ino sketch so that others could also do this.The trick with measuring velocity is counting the number of cycles between high and low. The smaller the count the faster the key was pushed. But doing this efficiently for 98 poses a different question.