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

serial interface: add std::istream adpater for Arduino Serial #59

Open
1 task
dhebbeker opened this issue Nov 1, 2023 · 0 comments · May be fixed by #78
Open
1 task

serial interface: add std::istream adpater for Arduino Serial #59

dhebbeker opened this issue Nov 1, 2023 · 0 comments · May be fixed by #78
Assignees
Labels
blocked Requires another issue to be resolved first. code improvement Improves the quality of the code without affecting the functionality of the software.

Comments

@dhebbeker
Copy link
Member

dhebbeker commented Nov 1, 2023

Similar to std::cin a global object shall be provided which allows to read formatted input from the serial interface using the Arduino Serial library. This is an interface adapter to 3rd party code.

A name could be serial::cin.

Acceptance criteria:

  • a global object is available which fulfils the std::istream interface
  • that object can be used to read from serial interface like std::cin

See WIP.

@dhebbeker dhebbeker self-assigned this Nov 5, 2023
@dhebbeker dhebbeker linked a pull request Nov 14, 2023 that will close this issue
1 task
@dhebbeker dhebbeker added the code improvement Improves the quality of the code without affecting the functionality of the software. label Nov 15, 2023
@dhebbeker dhebbeker added the blocked Requires another issue to be resolved first. label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Requires another issue to be resolved first. code improvement Improves the quality of the code without affecting the functionality of the software.
Projects
None yet
1 participant