Go Down

Topic: ServoTimer1 lib (Read 649 times) previous topic - next topic


Oct 02, 2007, 08:59 pm Last Edit: Oct 02, 2007, 09:02 pm by ugilten Reason: 1

I just broke in my new arduino and wanted to play with a servo or two. I found the library "ServoTimer1" and placed it in the path ...\lib\targets\labraries, under it own folder.
When I try to compile the example sketch, I get the following error
  "undefined refference to 'ServoTimer1::attach(int)'
with the following in the command line:

  ServoTimer1.cpp: In static member function 'static void ServoTimer1::seizeTimer1()':
  ServoTimer1.cpp:43: error: 'TICIE1' was not declared in this scope
  o: In function `setup':
  undefined reference to `ServoTimer1::attach(int)'o: In function `loop':
  o: In function `__static_initialization_and_destruction_0(int, int)':

This is after I removed the servo.h file from ...\lib\targets\wiring as sugested elsewere under a different problem.

Is there anyone who can tell me what is wrong?


P.S. I run the IDE from the file "run.bat" since the "arduino.exe" does absolutely nothing on my labtop


Maybe you can find your answer in this thread.



I must have missed that post some how

Go Up