Closed thopiekar closed 10 years ago
Both Servo and AltSoftSerial use a 16 bit timer. Arduino Uno has only one 16 bit timer, so you can NOT use these 2 libraries together.
This is not a bug.
You simply need better hardware to use both of these library. Teensy 2.0, Teensy++ 2.0 and Arduino Leonardo have 2 of these timers. Arduino Mega has 4 of them. Teensy 3.1 has a total of 12 hardware timers of different types. Mega and Teensy 3.1 also have many hardware serial ports.
You simply must use better hardware than Arduino Uno if you want these functions to work simultaneously.
hello i am using arduino mega 2560 i want to use it in the servo library with alt software but it gives an error thanks for helping me.
@awvare - Ask your question on the Arduino forum, not here.
Want to use your library except of SoftwareSerial as it causes problems with the Servo library. After moving my code to your library I got this problem: (Sorry, my IDE produces output in my language.)