Why is the received data repeated and how to use SerialPort#flush ? #2288
Unanswered
steiner0424
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary of Problem
I use "port.on('data', function (data) {})" to receive serial data,But every time I use port.close and port.open receive serial data again, There will always be repeated data reception, which will be repeated every time.I want to know if SerialPort flush can solve this problem and how to use it.
Versions, Operating System and Hardware
Beta Was this translation helpful? Give feedback.
All reactions