Skip to content

Timer User Conflicts with AltSoftSerial #11

@davidbitton

Description

@davidbitton

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions