Initially with 012 I was unable to compile my sketches since I was using
A number of people have reported similar problems. I think its caused by including wiring.h in the header file. In FrequencyTimer2.h, try replacing
You may need to to add
to the FrequencyTimer2.cpp file just after the #include <FrequencyTimer2.h>
This fixed the compiling but now I get a new problem that the code keeps crashing or causing the arduino to reset at what seems like random times.
When I go back to using 011 there is no problem with the same code.