Go Down

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

ugilten

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

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?

Regards
Ugilten

P.S. I run the IDE from the file "run.bat" since the "arduino.exe" does absolutely nothing on my labtop
21 is only half the truth.
13.37*pi = 42    strange but true

bigengineer

Maybe you can find your answer in this thread.

ugilten

Thanks

I must have missed that post some how
21 is only half the truth.
13.37*pi = 42    strange but true

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy