I'm trying to get this Arduino Frequency Counter Library running. I'm fairly new to Arduino, but everything that I've tried recently worked at first try. In this case, I moved the .H and .CPP files into propriet library folred of Arduino software (Arduino 1.0), but compiler says that there is problem in Wiring.h and I don't have the avr/interrupt.h file. Please where I can get thes avr files?
I also would like to ask you if anybody can send me the compiled file for Arduino with atmega328.
Thank you, that partially solved the problem (compilation gets far), but another problem appeared:
FreqCounter\FreqCounter.cpp.o: In function `__vector_7':
E:\Stažené soubory\arduino-1.0\libraries\FreqCounter/FreqCounter.cpp:102: multiple definition of `__vector_7'
FreqCounter.cpp.o:C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\build7162409666673713487.tmp/FreqCounter.cpp:102: first defined here
FreqCounter\FreqCounter.cpp.o: In function `__vector_7':
E:\Stažené soubory\arduino-1.0\libraries\FreqCounter/FreqCounter.cpp:102: multiple definition of `FreqCounter::f_tics'
FreqCounter.cpp.o:C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\build7162409666673713487.tmp/FreqCounter.cpp:102: first defined here
FreqCounter\FreqCounter.cpp.o: In function `__vector_7':
E:\Stažené soubory\arduino-1.0\libraries\FreqCounter/FreqCounter.cpp:102: multiple definition of `FreqCounter::f_period'
FreqCounter.cpp.o:C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\build7162409666673713487.tmp/FreqCounter.cpp:102: first defined here
FreqCounter\FreqCounter.cpp.o: In function `__vector_7':
E:\Stažené soubory\arduino-1.0\libraries\FreqCounter/FreqCounter.cpp:102: multiple definition of `FreqCounter::f_comp'
FreqCounter.cpp.o:C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\build7162409666673713487.tmp/FreqCounter.cpp:102: first defined here
FreqCounter\FreqCounter.cpp.o: In function `__vector_7':
E:\Stažené soubory\arduino-1.0\libraries\FreqCounter/FreqCounter.cpp:102: multiple definition of `FreqCounter::f_ready'
FreqCounter.cpp.o:C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\build7162409666673713487.tmp/FreqCounter.cpp:102: first defined here
FreqCounter\FreqCounter.cpp.o: In function `__vector_7':
E:\Stažené soubory\arduino-1.0\libraries\FreqCounter/FreqCounter.cpp:102: multiple definition of `FreqCounter::f_mlt'
FreqCounter.cpp.o:C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\build7162409666673713487.tmp/FreqCounter.cpp:102: first defined here
FreqCounter\FreqCounter.cpp.o: In function `__vector_7':
E:\Stažené soubory\arduino-1.0\libraries\FreqCounter/FreqCounter.cpp:102: multiple definition of `FreqCounter::f_freq'
FreqCounter.cpp.o:C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\build7162409666673713487.tmp/FreqCounter.cpp:102: first defined here
FreqCounter\FreqCounter.cpp.o: In function `FreqCounter::start(int)':
E:\Stažené soubory\arduino-1.0\libraries\FreqCounter/FreqCounter.cpp:46: multiple definition of `FreqCounter::start(int)'
FreqCounter.cpp.o:C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\build7162409666673713487.tmp/FreqCounter.cpp:46: first defined here
Sorry for such a long code, but I want to be sure not to omit something important...