Go Down

Topic: I got error on ServoTimeTimer1 library (Read 356 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