Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with SoftwareSerial.h library on UNO? #62

Open
cap10ray opened this issue May 18, 2020 · 2 comments
Open

Conflict with SoftwareSerial.h library on UNO? #62

cap10ray opened this issue May 18, 2020 · 2 comments

Comments

@cap10ray
Copy link

Very nice piece of work, a big thanks. I seem to have a conflict when trying to use EnableInterrupt and SoftwareSerial libraries on an Arduino Uno. I have an XBee3 module I'm using for communications (a longer distance that wifi), and need to monitor a waterflow sensor that sends pulsed output according to the flow. It requires an interrupt to count pulses. If I disable SoftwareSerial I get a clean compile and the pulse counter works, but without the XBee support. If I disable the EnableInterrupt, I clean compile with XBee communications, but no pulse counting.
I don't know if you came across this, I seem to recall a comment in PInChangeInterrupt documentation relating to an issue with SoftSerial, but did not see that in your documentation.
Is there any workaround that you are aware of?
Thanks
Ray

@DrIce2000
Copy link

Same issue with the Mega2560 and Softwareserial.

C:\Users\de530\AppData\Local\Temp\arduino_build_356207\libraries\SoftwareSerial\SoftwareSerial.cpp.o (symbol from plugin): In function `SoftwareSerial::read()':

(.text+0x0): multiple definition of `__vector_9'

C:\Users\de530\AppData\Local\Temp\arduino_build_356207\sketch\HiSpeed.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\de530\AppData\Local\Temp\arduino_build_356207\libraries\SoftwareSerial\SoftwareSerial.cpp.o (symbol from plugin): In function `SoftwareSerial::read()':

(.text+0x0): multiple definition of `__vector_10'

C:\Users\de530\AppData\Local\Temp\arduino_build_356207\sketch\HiSpeed.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\de530\AppData\Local\Temp\arduino_build_356207\libraries\SoftwareSerial\SoftwareSerial.cpp.o (symbol from plugin): In function `SoftwareSerial::read()':

(.text+0x0): multiple definition of `__vector_11'

C:\Users\de530\AppData\Local\Temp\arduino_build_356207\sketch\HiSpeed.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

Bibliothek EnableInterrupt in Version 1.1.0 im Ordner: C:\Users\de530\Documents\Arduino\libraries\EnableInterrupt wird verwendet

Bibliothek SoftwareSerial in Version 1.0 im Ordner: C:\Users\de530\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\libraries\SoftwareSerial wird verwendet

exit status 1

Fehler beim Kompilieren für das Board Arduino Mega or Mega 2560.

Thanks
Markus

@GreyGnome
Copy link
Owner

GreyGnome commented Jul 26, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants