Go Down

Topic: I got error on ServoTimeTimer1 library (Read 390 times) previous topic - next topic

firewallpro

when I use ServoTimeTimer1 library. I always got this error.

In file included from E:\arduino\arduino-0016\hardware\cores\arduino/WProgram.h:4,


e:/arduino/arduino-0016/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111: error: expected unqualified-id before 'int'


e:/arduino/arduino-0016/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111: error: expected `)' before 'int'


e:/arduino/arduino-0016/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111: error: expected `)' before 'int'


In file included from E:\arduino\arduino-0016\hardware\cores\arduino/WProgram.h:6,

Please any one can tell me how I can solve it.

mem

Why not use the Standard Arduino servo library, it has similar functionality (except for  input in microseconds). If you want that capability you can use the MegaServo library : http://www.arduino.cc/playground/Code/MegaServo

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