Skip to content

Consider changing inheritance scheme #9

@JM-FRANCE

Description

@JM-FRANCE

Why do you need to inherit from SoftwareSerial rather than Print? (cf http://playground.arduino.cc/Code/Printclass )

That would allow to implement a simple scheme where you would pass at initialization a pointer to either a SoftwareSerial or HardwareSerial object that would become your print target in your code and leave the choice of hardware or software serial up to the user of the library

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