Skip to content

Client side Serial binding to cin/cout #20

@neu-rah

Description

@neu-rah

Hi!

Saw your code comments about it, and yes its needed...

my approach was to remove the .cpp implementation

namespace std
{
  // ohserialstream cout(Serial);
  // ihserialstream cin(Serial);
}

and add this to my sketch

ohserialstream std::cout(Serial);
ihserialstream std::cin(Serial);

for me it sounds as a nice trade-off, no?

P.S. ok looking at __stdio_wrapper ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions