p5-serial / p5.serialcontrol

Desktop application and server for p5.serialport.js
Other
57 stars 28 forks source link

Unexpected end of json input #20

Open mikolajfrohmberg opened 5 years ago

mikolajfrohmberg commented 5 years ago

Hello, I'm creating a LED music visualiser using STM32 microcontroller with configured virtual COM port. My output is a LED Matrix. The input data is send by p5 app, which uses p5-serialport library and works as a music player. As a server i use the 0.0.5v of p5.serialcontrol for Windows. Unfortunately, after between 10 or 50 seconds (randomly) i get an error, which makes everything stop until i close the error and refresh my application... And it repeats... Any ideas? :/ It's very important for me to find out where is the problem... err1