Initially with 012 I was unable to compile my sketches since I was using
#include <Servo.h>
#include <FrequencyTimer2.h>
Mem suggested:
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
#include <wiring.h>
with
#include <inttypes.h>
You may need to to add
#include <wiring.h>
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.
any clues?