Hello all. I've just started using interrupts on the arduino. Downloaded MsTimer2 and tried the test program with these errors:
MsTimer2.cpp:145: error: expected constructor, destructor, or type conversion before '(' token
MsTimer2.cpp:145: error: expected `,' or `;' before '(' token
/home/matthew/work/reprogArduino/arduino-0012/hardware/cores/arduino/WInterrupts.c:86: error: redefinition of 'SIGNAL'
/home/matthew/work/reprogArduino/arduino-0012/hardware/cores/arduino/WInterrupts.c:81: error: previous definition of 'SIGNAL' was here
thanks for the tip! Though I'm pretty sure the code is clean.
the libraries that aren't working (mstimer2) are causing failures even before I start editing code (see first post). The MsTimer2 library can't be compiled!
My problem was down to a broken arduino install. The headers for the micro and other libraries were missing or wrong.
After 8 hours of research, installation, deinstallation and trying again from scratch I gave up and used the download for windows, which worked fine (including all libraries).