Hi i've download the Servo Timer2 Arduino Playground - HomePage
and I'm getting this result when compiling
C:\Users\Kevin\Documents\Arduino\libraries\ServoTimer2\ServoTimer2.cpp:6:26: error: WConstants.h: No such file or directory
C:\Users\Kevin\Documents\Arduino\libraries\ServoTimer2\ServoTimer2.cpp: In function 'void __vector_9()':
C:\Users\Kevin\Documents\Arduino\libraries\ServoTimer2\ServoTimer2.cpp:36: error: 'LOW' was not declared in this scope
C:\Users\Kevin\Documents\Arduino\libraries\ServoTimer2\ServoTimer2.cpp:36: error: 'digitalWrite' was not declared in this scope
C:\Users\Kevin\Documents\Arduino\libraries\ServoTimer2\ServoTimer2.cpp:43: error: 'HIGH' was not declared in this scope
C:\Users\Kevin\Documents\Arduino\libraries\ServoTimer2\ServoTimer2.cpp:43: error: 'digitalWrite' was not declared in this scope
C:\Users\Kevin\Documents\Arduino\libraries\ServoTimer2\ServoTimer2.cpp: In member function 'uint8_t ServoTimer2::attach(int)':
C:\Users\Kevin\Documents\Arduino\libraries\ServoTimer2\ServoTimer2.cpp:66: error: 'OUTPUT' was not declared in this scope
C:\Users\Kevin\Documents\Arduino\libraries\ServoTimer2\ServoTimer2.cpp:66: error: 'pinMode' was not declared in this scope.
I have put them in the right place aswell. I have made sure that at ServoTimer2.h file has #include <Arduino.h> and #include <wiring.h> and also for ServoTimer2.cpp I put //#include "WConstant.h"
I need your help asap! I need to use virtualWire and servotimer2 library and I cant make it work.
Thanks!