Go Down

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

Stigern

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!

mikalhart

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.

Mikal

Stigern

Oh, thanks!

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

Go Up