I
I
Ilya2017-04-04 18:42:13
JavaScript
Ilya, 2017-04-04 18:42:13

Incorrect data transfer from the microcontroller. How can this be fixed?

There is an stm32 microcontroller that outputs data from the gyroscope (checked through the RealTerm program). You need to transfer this data to a local site. For this, I used the Node-Webkit platform. By connecting npm broswer-serialport (similar to serialport-a) to the site, the data is displayed in a very strange way. First there is a freeze for 20 seconds, then it spits out ~100 values ​​in one message, and after that it starts splitting each next value. I tried to change the parser, but it throws an error. Can you tell me what to do?
I am attaching a screenshot of the code and data output.
dd94d2b2c4d84bebacbacb2168a814d9.png2318046ede2b4e42ba89b4daa64c3422.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question