Go Down

Topic: NewSoftSerial + MegaServo = bad? (Read 554 times) previous topic - next topic


I'm having some problems, and it seems like every time I'm sending data to my lcd with newsoftserial, servos get a twitch. I'm just wondering if some timers are used by both libaries?
I'm from Norway!


You are quite right.  The new (Arduino 0017) Servo library relies on interrupts, and NewSoftSerial (and all the other soft serial libraries) rely on interrupts being OFF.

I got around this problem by using the 0016 Servo library.



Oh, thanks!

I'm guessing the MegaServo library also does.
I'm from Norway!

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!

via Egeo 16
Torino, 10131