Skip to content

txPin and rxPin are defined as global variables in SoftwareSerial.cpp #89

@soundanalogous

Description

@soundanalogous

Because the variables txPin and rxPin are defined as global variables in SoftwareSerial.cpp (/CurieSoftwareSerial/SoftwareSerial.cpp) they cannot be used in sketches. This is going to break a lot of existing sketches since they are commonly used variable names in sketches. Please make these variables private or prepend an underscore (_txPin) or make them more specific (curieSwSerialTXPin) or other convention to differentiate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions