M
M
Maxim2018-02-13 20:25:52
linux
Maxim, 2018-02-13 20:25:52

How to get one line from com port and disconnect?

Given:
A computer with (Linux Debian on board) and Arduino, which once a second issues a certain line in the com port.
how can I get a line and disconnect from the com port.
ideally sh script that will echo this line to the console

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alfss, 2018-02-13
@alfss

https://gist.github.com/tmbdev/5772607 can dig in that direction.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question