Pages: [1]   Go Down
Author Topic: ServoTimer1 lib  (Read 303 times)
0 Members and 1 Guest are viewing this topic.
Copenhagen - Denmark
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: October 02, 2007, 02:02:18 pm by ugilten » Logged

21 is only half the truth.
13.37*pi = 42    strange but true

0
Offline Offline
Full Member
***
Karma: 0
Posts: 183
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe you can find your answer in this thread.
Logged

Copenhagen - Denmark
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks

I must have missed that post some how
Logged

21 is only half the truth.
13.37*pi = 42    strange but true

Pages: [1]   Go Up
Jump to: