dear,
i have to use the library that available in this link :FreqMeasure Library, for Measuring Frequencies in the 0.1 to 1000 Hz range, or RPM Tachometer Applications
and i have to inputs to measure the analog signal frequency from but in this library i have just 1 pin which is pin 8 to detect from so please if any one have an idea to add such as pin 7 to detect the other input by modifying it from the library file.
thx.
Couple questions. (1) What class is this for? (2) Have you read this?
The pin is fixed because it uses the Input Capture Pin of a hardware Timer/Counter. On the Arduino UNO there is only one ICP and that is Pin 8: ICP1. On the Arduino MEGA you can also use Pin 48 (ICP5) or Pin 49 (ICP4) because Timer4 and Timer5 have that feature.