You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Data: <Buffer 53 54 2c 4e 54 2c 2b 20 20 31 33 35 2e 31 20 67 0d 0a>
What should have happened?
When I use a serial port assistant tool to read electronic scale data, the output is shown in the figure
How can I adjust the code to read the same content as the serial assistant
Additional information
No response
The text was updated successfully, but these errors were encountered:
SerialPort Version
12.0.0
Node Version
v20.10.0
Electron Version
21.4.4
Platform
MacOS 14.4
Architecture
x64
Hardware or chipset of serialport
No response
What steps will reproduce the bug?
When I read data through the serial port, the data I read from the serial port is abnormal。
What happens?
when i use
port.on('data', data =>{console.log(data)})
, the output isActually, the expected output is
What should have happened?
When I use a serial port assistant tool to read electronic scale data, the output is shown in the figure
How can I adjust the code to read the same content as the serial assistant
Additional information
No response
The text was updated successfully, but these errors were encountered: