Forum 2005-2010 (read only)
Topic: ServoTimer1: error
(Read 488 times)
Jan 26, 2008, 11:47 pm
I just installed the ServoTimer1 lib, and when I start "Arduino - 0010 Alpha" from the "run.bat" file (the exe won't work on my comp ?!?) it gives me the following message:
ServoTimer1.cpp: In static member function 'static void ServoTimer1::seizeTimer1()':
ServoTimer1.cpp:43: error: 'TICIE1' was not declared in this scope
Does anyone know what I should do?
I have tried placing the lib in almost all the the other subfolders I could find in the Arduino folder, but then it didn't see the lib in the GUI...
Thanks in advance
21 is only half the truth.
13.37*pi = 42 strange but true
Re: ServoTimer1: error
Jan 26, 2008, 11:59 pm
This is a software issue - should be in that section of the forum, not the hardware section.
The problem is that the code uses the register names for the AtMega8, I'm guessing you are using an AtMega168.
Problem solved for you here: