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

Timer User Conflicts with AltSoftSerial #11

Open
davidbitton opened this issue May 20, 2018 · 1 comment
Open

Timer User Conflicts with AltSoftSerial #11

davidbitton opened this issue May 20, 2018 · 1 comment

Comments

@davidbitton
Copy link

It appears as if AltSoftSerial is trying to use the same timer as SoftPWM. PlatformIO is spitting out the following on compilation:

AltSoftSerial.cpp.o (symbol from plugin): In function `AltSoftSerial::read()':
(.text+0x0): multiple definition of `__vector_11'
.pioenvs/pro16MHzatmega328/src/main.cpp.o (symbol from plugin):(.text+0x0): first defined here

When I comment out any reference to SoftPWM, this error goes away. AltSoftSerial sets up which time it uses in AltSoftSerial_Boards based on the type of board chip. I'm using a Pro Mini. Is there another timer we can use? Thanks!

@davidbitton
Copy link
Author

I think I solved the problem. I'm switching to a Pro Micro with a 32u4 proc. AltSoftSerial runs on Timer3 for that MCU. Thanks.

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

1 participant