Hello,
I tried using this servo library and I get this error when I try to compile:
In file included from C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:45,
from C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:45,
from C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:45,
... (same thing repeated like 100 times) ...
from C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:45,
from C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:45,
from C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:45,
from sketch_dec09b.ino:6:
C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:44: error: #include nested too deeply
C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:45: error: #include nested too deeply
In file included from C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:45,
from C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:45,
from C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:45,
... (same thing repeated like 100 times) ...
from C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:45,
from C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:45,
from C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:45,
from C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:45,
from C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:45,
from sketch_dec09b.ino:6:
C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:53: error: 'servo_t' does not name a type
C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:57: error: '_Nbr_16timers' was not declared in this scope
C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:76: error: variable or field 'Servo_Handler' declared void
C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:76: error: 'timer16_Sequence_t' was not declared in this scope
C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:76: error: expected primary-expression before '*' token
C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:76: error: 'pTc' was not declared in this scope
C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:76: error: expected primary-expression before 'channel'
C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:103: error: variable or field 'Servo_Handler' declared void
C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:103: error: 'timer16_Sequence_t' was not declared in this scope
C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:103: error: expected primary-expression before '*' token
C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:103: error: 'tc' was not declared in this scope
C:\Users\Lori\Documents\Arduino\libraries\Servo/Servo.h:103: error: expected primary-expression before 'channel'
I used the Sweep example provided with this library, because I wanted to see if it was working properly... Compiled with IDE 1.5.1r2... Any ideas?