Connect with us

Will the Arduino softwareSerial and Servo libraries produce interrupt clashes?

Discussion in 'Microcontrollers, Programming and IoT' started by Maria_123, Nov 10, 2018.

  1. Maria_123

    Maria_123

    1
    0
    Nov 4, 2018
    Hi All, i'm panning a project using the arduino uno which i own. I would need to control servos and have an additional UART serial port. I am aware that this is easy enough to do with the software serial library. Will this produce interrupt clashes with the servo library? If so what are some practice ways of resolving the issue.
     
  2. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    24,860
    2,571
    Jan 21, 2010
    Presumably the best way us to use the UART rather than software serial support. That way you're least likely to disrupt (or be disrupted) by any funny business the other library is doing.
     
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.